From c3bbc0eafdae7a50c46ec61f3352821b7c28ea85 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 8 Aug 2001 17:03:36 +0000 Subject: This syncs things up with my local tree. Mainly changes installer issues, and syns things (as far as I am willing) with Dave Schleef's tree. We may need to go another round or so, but we do seem to be converging... --- libc/unistd/getopt.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libc/unistd/getopt.c') diff --git a/libc/unistd/getopt.c b/libc/unistd/getopt.c index ec5c988f5..eb6c4f4f6 100644 --- a/libc/unistd/getopt.c +++ b/libc/unistd/getopt.c @@ -39,10 +39,7 @@ int c; /* defective option letter */ return '?'; /* erroneous-option marker */ } -extern int getopt (int argc, char *const *argv, const char *optstring) - __attribute__ ((__weak__)); - -int getopt (int argc, char *const *argv, const char *optstring) +int __attribute__ ((__weak__)) getopt (int argc, char *const *argv, const char *optstring) { static int sp = 1; /* position within argument */ register int osp; /* saved `sp' for param test */ -- cgit v1.2.3