NEED*DECLARATION -> HAVE*DECLARATION
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1512 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -64,7 +64,7 @@ const
|
|||||||
int h_nerr = { sizeof h_errlist / sizeof h_errlist[0] };
|
int h_nerr = { sizeof h_errlist / sizeof h_errlist[0] };
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#ifdef NEED_H_ERRLIST_DECLARATION
|
#ifndef HAVE_H_ERRLIST_DECLARATION
|
||||||
extern const char *h_errlist[];
|
extern const char *h_errlist[];
|
||||||
extern int h_nerr;
|
extern int h_nerr;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -134,7 +134,7 @@ char *strerror(int eno);
|
|||||||
char *hstrerror(int herr);
|
char *hstrerror(int herr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NEED_H_ERRNO_DECLARATION
|
#ifndef HAVE_H_ERRNO_DECLARATION
|
||||||
extern int h_errno;
|
extern int h_errno;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -285,17 +285,17 @@ void vsyslog(int pri, const char *fmt, va_list ap);
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NEED_OPTARG_DECLARATION
|
#ifndef HAVE_OPTARG_DECLARATION
|
||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
#endif
|
#endif
|
||||||
#ifdef NEED_OPTIND_DECLARATION
|
#ifndef HAVE_OPTIND_DECLARATION
|
||||||
extern int optind;
|
extern int optind;
|
||||||
#endif
|
#endif
|
||||||
#ifdef NEED_OPTERR_DECLARATION
|
#ifndef HAVE_OPTERR_DECLARATION
|
||||||
extern int opterr;
|
extern int opterr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NEED___PROGNAME_DECLARATION
|
#ifndef HAVE___PROGNAME_DECLARATION
|
||||||
extern const char *__progname;
|
extern const char *__progname;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -134,7 +134,7 @@ char *strerror(int eno);
|
|||||||
char *hstrerror(int herr);
|
char *hstrerror(int herr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NEED_H_ERRNO_DECLARATION
|
#ifndef HAVE_H_ERRNO_DECLARATION
|
||||||
extern int h_errno;
|
extern int h_errno;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -285,17 +285,17 @@ void vsyslog(int pri, const char *fmt, va_list ap);
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NEED_OPTARG_DECLARATION
|
#ifndef HAVE_OPTARG_DECLARATION
|
||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
#endif
|
#endif
|
||||||
#ifdef NEED_OPTIND_DECLARATION
|
#ifndef HAVE_OPTIND_DECLARATION
|
||||||
extern int optind;
|
extern int optind;
|
||||||
#endif
|
#endif
|
||||||
#ifdef NEED_OPTERR_DECLARATION
|
#ifndef HAVE_OPTERR_DECLARATION
|
||||||
extern int opterr;
|
extern int opterr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NEED___PROGNAME_DECLARATION
|
#ifndef HAVE___PROGNAME_DECLARATION
|
||||||
extern const char *__progname;
|
extern const char *__progname;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user