summaryrefslogtreecommitdiffstats
path: root/compat/getopt.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2012-03-02 11:23:51 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2012-03-02 11:23:51 +0000
commit82f4db0d10a42bc74594fa74f73bb575e7801631 (patch)
treecd0e216761cf5e25987c5894f71ea6b96e6576c1 /compat/getopt.c
parentb801118fe59d2aec2df8c6b556827e129e64afb5 (diff)
ANSIfy function prototypes, from Tim Ruehsen.
Diffstat (limited to 'compat/getopt.c')
-rw-r--r--compat/getopt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/compat/getopt.c b/compat/getopt.c
index f6ecb588..3a532372 100644
--- a/compat/getopt.c
+++ b/compat/getopt.c
@@ -52,10 +52,7 @@ char *BSDoptarg; /* argument associated with option */
* Parse argc/argv argument vector.
*/
int
-BSDgetopt(nargc, nargv, ostr)
- int nargc;
- char * const *nargv;
- const char *ostr;
+BSDgetopt(int nargc, char *const *nargv, const char *ostr)
{
static char *place = EMSG; /* option letter processing */
char *oli; /* option letter list index */