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:
poljar (Damir Jelić) 2013-06-18 22:17:48 +02:00 committed by Tanu Kaskinen
parent e95d054e40
commit 97da92d894
69 changed files with 0 additions and 125 deletions

View file

@ -111,7 +111,6 @@ enum {
SUBCOMMAND_SAVE_FORMATS
};
#define ENTRY_VERSION 1
struct entry {
@ -173,7 +172,6 @@ static void trigger_save(struct userdata *u, pa_device_type_t type, uint32_t sin
u->save_time_event = pa_core_rttime_new(u->core, pa_rtclock_now() + SAVE_INTERVAL, save_time_callback, u);
}
#ifdef ENABLE_LEGACY_DATABASE_ENTRY_FORMAT
/* Some forward declarations */
static pa_bool_t legacy_entry_read(struct userdata *u, pa_datum *data, struct entry **entry, struct perportentry **perportentry);
@ -685,7 +683,6 @@ static void subscribe_callback(pa_core *c, pa_subscription_event_type_t t, uint3
}
}
pa_assert(e);
if (olde) {
@ -706,7 +703,6 @@ static void subscribe_callback(pa_core *c, pa_subscription_event_type_t t, uint3
entry_free(e);
}
pa_assert(ppe);
if (oldppe) {