From: Ezra Peisach Date: Mon, 30 Mar 1998 21:40:28 +0000 (+0000) Subject: * t_inetd.c: Include stdlib.h (if present) for atoi() prototype, X-Git-Tag: krb5-1.1-beta1~766 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ff6e2d81289c3834d44054e663d889e6268d61c;p=krb5.git * t_inetd.c: Include stdlib.h (if present) for atoi() prototype, Include unistd.h (if present) for dup() prototype. More gcc -Wall cleanups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10507 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/dejagnu/ChangeLog b/src/tests/dejagnu/ChangeLog index f0f1b31fa..86d5e9611 100644 --- a/src/tests/dejagnu/ChangeLog +++ b/src/tests/dejagnu/ChangeLog @@ -1,3 +1,9 @@ +Mon Mar 30 13:57:07 1998 Ezra Peisach + + * t_inetd.c: Include stdlib.h (if present) for atoi() prototype, + Include unistd.h (if present) for dup() prototype. + + Wed Feb 18 16:28:37 1998 Tom Yu * Makefile.in: Remove trailing slash from thisconfigdir. Fix up diff --git a/src/tests/dejagnu/t_inetd.c b/src/tests/dejagnu/t_inetd.c index d5a01773a..0fe4db834 100644 --- a/src/tests/dejagnu/t_inetd.c +++ b/src/tests/dejagnu/t_inetd.c @@ -32,6 +32,10 @@ +#ifdef HAVE_STDLIB_H +#include +#endif + #include #include #include @@ -42,6 +46,10 @@ #include #include +#ifdef HAVE_UNISTD_H +#include +#endif + #include "com_err.h" extern int errno; @@ -54,6 +62,7 @@ static void usage() exit(1); } +int main(argc, argv) int argc; char **argv;