summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2012-12-18 21:17:55 -0800
committerSam Roberts <vieuxtech@gmail.com>2012-12-18 21:17:55 -0800
commit4ba2f0c0749e8216c0742edce8adfc25f1587ced (patch)
treec043aefb15efac79e124bdbb8f495a1091073021
parentffb9a55cf33050f45cc6d59a173c88550d655ea2 (diff)
downloadlibnet-4ba2f0c0749e8216c0742edce8adfc25f1587ced.tar.gz
libnet_open_raw4 doesn't return a SOCKET on win32
And on unix, it doesn't return a descriptor.
-rw-r--r--libnet/include/libnet/libnet-functions.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libnet/include/libnet/libnet-functions.h b/libnet/include/libnet/libnet-functions.h
index c067798..7f6f512 100644
--- a/libnet/include/libnet/libnet-functions.h
+++ b/libnet/include/libnet/libnet-functions.h
@@ -2310,19 +2310,11 @@ LIBNET_API
int
libnet_write_link(libnet_t *l, const uint8_t *packet, uint32_t size);
-#if ((__WIN32__) && !(__CYGWIN__))
-/*
- * [Internal]
- */
-SOCKET
-libnet_open_raw4(libnet_t *l);
-#else
/*
* [Internal]
*/
int
libnet_open_raw4(libnet_t *l);
-#endif
/*
* [Internal]