diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-02-06 13:34:19 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-02-06 13:34:19 +0000 |
commit | 4eabd7ec90756952ea4963cdd5d508224a7f1d29 (patch) | |
tree | 6b44fc666f8093714591e7c08b94922d24f64d88 /compat/getprogname.c | |
parent | 50f25a8f0539caa217b34ba12f4bd4e73043165a (diff) | |
download | rtmux-4eabd7ec90756952ea4963cdd5d508224a7f1d29.tar.gz rtmux-4eabd7ec90756952ea4963cdd5d508224a7f1d29.tar.bz2 rtmux-4eabd7ec90756952ea4963cdd5d508224a7f1d29.zip |
Do not declare program_invocation_short_name because people can't make up their
mind what type it should be.
Diffstat (limited to 'compat/getprogname.c')
-rw-r--r-- | compat/getprogname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/getprogname.c b/compat/getprogname.c index 80a496da..50afbace 100644 --- a/compat/getprogname.c +++ b/compat/getprogname.c @@ -16,14 +16,14 @@ #include <sys/types.h> +#include <errno.h> + #include "compat.h" #if defined(HAVE_PROGRAM_INVOCATION_SHORT_NAME) const char * getprogname(void) { - extern char *program_invocation_short_name; - return (program_invocation_short_name); } #elif defined(HAVE___PROGNAME) |