aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-07-27 11:23:47 -0700
committerGuy Harris <gharris@sonic.net>2023-07-27 11:23:47 -0700
commit5c8fbf712359e718d9b62233b3be4931e6142b0e (patch)
tree5015bd763501f588f129ab09f67f94fc3d6282d1
parent08a63dc096c5360806487ee17f9e06ae6c833a67 (diff)
Get rid of trailing blanks.
-rw-r--r--pcap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pcap.c b/pcap.c
index d8b0e775..c885042c 100644
--- a/pcap.c
+++ b/pcap.c
@@ -1505,7 +1505,7 @@ pcap_freealldevs(pcap_if_t *alldevs)
* In all other cases, we just use pcap_findalldevs() to get a list of
* devices, and pick from that list.
*/
-#if !defined(HAVE_PACKET32)
+#if !defined(HAVE_PACKET32)
/*
* Return the name of a network interface attached to the system, or NULL
* if none can be found. The interface must be configured up; the
@@ -1578,7 +1578,7 @@ pcap_lookupdev(char *errbuf)
}
#endif /* !defined(HAVE_PACKET32) */
-#if !defined(_WIN32)
+#if !defined(_WIN32)
/*
* We don't just fetch the entire list of devices, search for the
* particular device, and use its first IPv4 address, as that's too
@@ -3554,7 +3554,7 @@ pcap_fileno(pcap_t *p)
}
#endif /* _WIN32 */
-#if !defined(_WIN32)
+#if !defined(_WIN32)
int
pcap_get_selectable_fd(pcap_t *p)
{
@@ -3605,7 +3605,7 @@ pcap_getnonblock(pcap_t *p, char *errbuf)
* Get the current non-blocking mode setting, under the assumption that
* it's just the standard POSIX non-blocking flag.
*/
-#if !defined(_WIN32)
+#if !defined(_WIN32)
int
pcap_getnonblock_fd(pcap_t *p)
{
@@ -3645,7 +3645,7 @@ pcap_setnonblock(pcap_t *p, int nonblock, char *errbuf)
return (ret);
}
-#if !defined(_WIN32)
+#if !defined(_WIN32)
/*
* Set non-blocking mode, under the assumption that it's just the
* standard POSIX non-blocking flag. (This can be called by the
@@ -4083,7 +4083,7 @@ pcap_cleanup_live_common(pcap_t *p)
p->tstamp_precision_count = 0;
}
pcap_freecode(&p->fcode);
-#if !defined(_WIN32)
+#if !defined(_WIN32)
if (p->fd >= 0) {
close(p->fd);
p->fd = -1;