diff options
author | Guy Harris <gharris@sonic.net> | 2023-07-27 11:23:47 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2023-07-27 11:23:47 -0700 |
commit | 5c8fbf712359e718d9b62233b3be4931e6142b0e (patch) | |
tree | 5015bd763501f588f129ab09f67f94fc3d6282d1 | |
parent | 08a63dc096c5360806487ee17f9e06ae6c833a67 (diff) |
Get rid of trailing blanks.
-rw-r--r-- | pcap.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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; |