Do not declare program_invocation_short_name because people can't make up their

mind what type it should be.
pull/757/merge
Nicholas Marriott 2017-02-06 13:34:19 +00:00
parent 50f25a8f05
commit 4eabd7ec90
1 changed files with 2 additions and 2 deletions

View File

@ -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)