From b05fa195d6de5ba0f8b1d1aabc885ec1eb3f334c Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 27 Jun 2005 09:30:49 +0000 Subject: [PATCH] Prototype and definitions for getopt() --- include/unistd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/unistd.h b/include/unistd.h index e4d34e7fd..ab62354ad 100755 --- a/include/unistd.h +++ b/include/unistd.h @@ -167,5 +167,7 @@ _PROTOTYPE( int setgroups, (int ngroups, const gid_t *gidset) ); #endif _PROTOTYPE( int readlink, (const char *, char *, int)); +_PROTOTYPE( int getopt, (int, char **, char *)); +extern int optind, opterr, optopt; #endif /* _UNISTD_H */ -- 2.44.0