diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-10 23:10:18 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:33 -0400 |
commit | 8c1ac426e15b27d2879afa26a500fd80010b33b9 (patch) | |
tree | 088c61dc5c7ad2eb069d1f2422a819579a9ae39e /src/internal | |
parent | cf7db2427f99d784f3d27a4036c1abf41c61db87 (diff) | |
download | musl-8c1ac426e15b27d2879afa26a500fd80010b33b9.tar.gz musl-8c1ac426e15b27d2879afa26a500fd80010b33b9.tar.bz2 musl-8c1ac426e15b27d2879afa26a500fd80010b33b9.tar.xz musl-8c1ac426e15b27d2879afa26a500fd80010b33b9.zip |
declare __getopt_msg in stdio_impl.h
it's not ideal, but the function is essentially an extended stdio
function specialized to getopt's needs. the only reason it exists is
avoiding pulling printf code into every program using getopt.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/stdio_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/stdio_impl.h b/src/internal/stdio_impl.h index cdb0f96b..c3093d01 100644 --- a/src/internal/stdio_impl.h +++ b/src/internal/stdio_impl.h @@ -87,6 +87,8 @@ void __register_locked_file(FILE *, struct __pthread *); void __unlist_locked_file(FILE *); void __do_orphaned_stdio_locks(void); +void __getopt_msg(const char *, const char *, const char *, size_t); + #define feof(f) ((f)->flags & F_EOF) #define ferror(f) ((f)->flags & F_ERR) |