]> The Tcpdump Group git mirrors - libpcap/commitdiff
Move getopt.c to the missing directory.
authorGuy Harris <[email protected]>
Wed, 23 Sep 2015 22:01:33 +0000 (15:01 -0700)
committerGuy Harris <[email protected]>
Wed, 23 Sep 2015 22:01:33 +0000 (15:01 -0700)
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.

Makefile.in
missing/getopt.c [moved from Win32/Src/getopt.c with 100% similarity]
tests/CMakeLists.txt

index 654642b2eb0ab04a76f5be8a9314fa2382d389de..346334a0b92dd15906b20fa0e1bf53bd400818d1 100644 (file)
@@ -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
 
similarity index 100%
rename from Win32/Src/getopt.c
rename to missing/getopt.c
index de02bd56d8c90b725d2f5199e2f1097060ada72c..fc7919ed38083e1d6a81670758d3d048171f0a38 100644 (file)
@@ -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 )