Add #undef getopt after getopt.h.
authorRichard Stallman <rms@gnu.org>
Tue, 20 Oct 1992 07:13:36 +0000 (07:13 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 20 Oct 1992 07:13:36 +0000 (07:13 +0000)
From-SVN: r2521

gcc/protoize.c

index 51c825b..5a65334 100644 (file)
@@ -75,6 +75,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    with something from a system header file, so effectively nullify that.  */
 #define getopt getopt_loser
 #include "getopt.h"
+#undef getopt
 
 extern int errno;
 extern char *sys_errlist[];