mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
This patch removes all occurrences of double and triple
newlines.
Command used for this:
find . -type d \( -name ffmpeg \) -prune -o \
-regex '\(.*\.[hc]\|.*\.cc\)' \
-a -not -name 'adrian-aec.*' -a -not \
-name reserve.c -a -not -name 'rtkit.*' \
-exec sed -i -e '/^$/{N;s/^\n$//}' {} \;
Two passes were needed to remove triple newlines.
The excluded files are mirrored files from external sources.
21 lines
507 B
C
21 lines
507 B
C
#ifndef fooarpa_inethfoo
|
|
#define fooarpa_inethfoo
|
|
|
|
#if defined(HAVE_ARPA_INET_H)
|
|
|
|
#include <arpa/inet.h>
|
|
|
|
#elif defined(OS_IS_WIN32)
|
|
|
|
/* On Windows winsock2.h (here included via pulsecore/socket.h) provides most of the functionality of arpa/inet.h, except for
|
|
* the inet_ntop and inet_pton functions, which are implemented here. */
|
|
|
|
#include <pulsecore/socket.h>
|
|
|
|
const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt);
|
|
|
|
int inet_pton(int af, const char *src, void *dst);
|
|
|
|
#endif
|
|
|
|
#endif
|