From: Guy Harris Date: Wed, 23 Sep 2015 22:01:33 +0000 (-0700) Subject: Move getopt.c to the missing directory. X-Git-Tag: libpcap-1.8.0-bp~173 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/ef9ff76a208eb4ef83ffa258e002d0aaf2a5ef66 Move getopt.c to the missing directory. It's currently not used on any UN*X, so it doesn't need to be there, but this puts all the "source for replacement functions" stuff in the missing directory. --- diff --git a/Makefile.in b/Makefile.in index 654642b2..346334a0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -279,6 +279,7 @@ EXTRA_DIST = \ lbl/os-solaris2.h \ lbl/os-sunos4.h \ lbl/os-ultrix4.h \ + missing/getopt.c \ missing/snprintf.c \ mkdep \ msdos/bin2c.c \ @@ -350,8 +351,7 @@ EXTRA_DIST = \ Win32/Include/net/netdb.h \ Win32/Include/net/paths.h \ Win32/Prj/libpcap.dsp \ - Win32/Prj/libpcap.dsw \ - Win32/Src/getopt.c + Win32/Prj/libpcap.dsw all: libpcap.a shared pcap-config diff --git a/Win32/Src/getopt.c b/missing/getopt.c similarity index 100% rename from Win32/Src/getopt.c rename to missing/getopt.c diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index de02bd56..fc7919ed 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -8,7 +8,7 @@ project( pcap_tests ) if( MSVC ) file(GLOB PROJECT_SOURCE_LIST_WIN32_C - ${pcap_SOURCE_DIR}/Win32/Src/getopt.c + ${pcap_SOURCE_DIR}/missing/getopt.c ) endif( MSVC )