Style fix: Remove new lines from opening brackets

This patch replaces every occurrence of ')\n{' with ') {'.

Command used for this:
    find .  -type d \( -name ffmpeg \) -prune -o \
        -regex '\(.*\.[hc]\|.*\.cc\)' \
        -a -not -name core-util.c -a -not \
        -name adrian-aec.c -a -not -name g711.c \
        -exec sed -i -e '/)$/{N;s/)\n{$/) {/}' {} \;

The excluded files are mirrored files from external sources.
This commit is contained in:
poljar (Damir Jelić) 2013-06-18 22:24:24 +02:00 committed by Tanu Kaskinen
parent cbd274676d
commit e95d054e40
25 changed files with 40 additions and 80 deletions

View file

@ -208,8 +208,7 @@ enum {
static int init_profile(struct userdata *u);
/* from IO thread */
static void a2dp_set_bitpool(struct userdata *u, uint8_t bitpool)
{
static void a2dp_set_bitpool(struct userdata *u, uint8_t bitpool) {
struct a2dp_info *a2dp;
pa_assert(u);
@ -968,8 +967,7 @@ static int a2dp_process_push(struct userdata *u) {
return ret;
}
static void a2dp_reduce_bitpool(struct userdata *u)
{
static void a2dp_reduce_bitpool(struct userdata *u) {
struct a2dp_info *a2dp;
uint8_t bitpool;