diff options
author | tim <tim> | 2001-09-17 21:34:33 +0000 |
---|---|---|
committer | tim <tim> | 2001-09-17 21:34:33 +0000 |
commit | db43a7af72102f45ae78febcdb5ae33d22405c7d (patch) | |
tree | 41e9c784b7ef20983ce0ef901918ad4f5b8a8211 /openbsd-compat | |
parent | 4e68ad90d1ff06691c876b9878e7ecfcf51336b4 (diff) | |
download | openssh-db43a7af72102f45ae78febcdb5ae33d22405c7d.tar.gz |
- (tim) [includes.h openbsd-compat/getopt.c openbsd-compat/getopt.h]
rename getopt() to BSDgetopt() to keep form conflicting with
system getopt().
[Makefile.in configure.in] disable filepriv until I can add
missing procpriv calls.
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/getopt.c | 2 | ||||
-rw-r--r-- | openbsd-compat/getopt.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/getopt.c b/openbsd-compat/getopt.c index 071e2788..9e13504a 100644 --- a/openbsd-compat/getopt.c +++ b/openbsd-compat/getopt.c @@ -57,7 +57,7 @@ char *optarg; /* argument associated with option */ * Parse argc/argv argument vector. */ int -getopt(nargc, nargv, ostr) +BSDgetopt(nargc, nargv, ostr) int nargc; char * const *nargv; const char *ostr; diff --git a/openbsd-compat/getopt.h b/openbsd-compat/getopt.h index d981fe43..08a4eb3e 100644 --- a/openbsd-compat/getopt.h +++ b/openbsd-compat/getopt.h @@ -1,4 +1,4 @@ -/* $Id: getopt.h,v 1.2 2001/07/14 16:05:55 stevesk Exp $ */ +/* $Id: getopt.h,v 1.3 2001/09/17 21:34:34 tim Exp $ */ #ifndef _GETOPT_H #define _GETOPT_H @@ -7,7 +7,7 @@ #ifndef HAVE_GETOPT_H -int getopt(int argc, char * const *argv, const char *opts); +int BSDgetopt(int argc, char * const *argv, const char *opts); #endif |