]> git.puffer.fish Git - matthieu/frr.git/commit
2005-08-10 Greg Troxel <gdt@fnord.ir.bbn.com>
authorgdt <gdt>
Wed, 10 Aug 2005 13:20:03 +0000 (13:20 +0000)
committergdt <gdt>
Wed, 10 Aug 2005 13:20:03 +0000 (13:20 +0000)
commit0312f0cd92e26d8097145d00dfad4638ed687f02
tree0eb8c8b39c1b20cbac4690f85d5b7d4846d78b7e
parent01018ce479cce0af61d3797e5200cc340fe6ec0e
2005-08-10  Greg Troxel  <gdt@fnord.ir.bbn.com>

        * getopt.h: Don't declare getopt (rather than getopt_long), since
        quagga doesn't need it.
        * getopt.c (getopt): Don't define getopt.

Fixes build breakage on NetBSD, and seems likely to work on most
platforms since it avoids the entire issue of system getopt
declarations and whether they conform to POSIX.2.  Note that this
change doesn't address system getopt_long declarations, but also
doesn't change anything about getopt_long.
lib/ChangeLog
lib/getopt.c
lib/getopt.h