mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
Whitespace cleanup: Remove all multiple newlines
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.
This commit is contained in:
parent
e95d054e40
commit
97da92d894
69 changed files with 0 additions and 125 deletions
|
|
@ -168,7 +168,6 @@ int main(int argc, char*argv[]) {
|
|||
goto quit;
|
||||
}
|
||||
|
||||
|
||||
if (r >= 0)
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -715,7 +715,6 @@ static void get_source_output_info_callback(pa_context *c, const pa_source_outpu
|
|||
printf("\n");
|
||||
nl = TRUE;
|
||||
|
||||
|
||||
pa_snprintf(t, sizeof(t), "%u", i->owner_module);
|
||||
pa_snprintf(k, sizeof(k), "%u", i->client);
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ static void quit(int ret) {
|
|||
mainloop_api->quit(mainloop_api, ret);
|
||||
}
|
||||
|
||||
|
||||
static void context_drain_complete(pa_context *c, void *userdata) {
|
||||
pa_context_disconnect(c);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@
|
|||
#include <pulsecore/native-common.h>
|
||||
#include <pulsecore/x11prop.h>
|
||||
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
const char *dname = NULL, *sink = NULL, *source = NULL, *server = NULL, *cookie_file = PA_NATIVE_COOKIE_FILE;
|
||||
int c, ret = 1, screen = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue