diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-11-09 18:31:50 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-11-09 18:31:50 +0100 |
commit | 98c3af3faaae87e868dd2eb6934f2189a7bb4ed6 (patch) | |
tree | 87b71f51b455ccc07d6360f89d4e77445b9641a2 | |
parent | 54b44515d744b0c25fe2c5e4a25e77ebb54faab1 (diff) | |
download | pjctl-98c3af3faaae87e868dd2eb6934f2189a7bb4ed6.tar.gz pjctl-98c3af3faaae87e868dd2eb6934f2189a7bb4ed6.tar.bz2 pjctl-98c3af3faaae87e868dd2eb6934f2189a7bb4ed6.zip |
Put switches and targets arrays on one line
-rw-r--r-- | src/pjctl.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/pjctl.c b/src/pjctl.c index 6b6b80f..3084d94 100644 --- a/src/pjctl.c +++ b/src/pjctl.c @@ -303,13 +303,7 @@ source(struct pjctl *pjctl, char **argv, int argc) int type = 0, offset; int num; int i; - const char *switches[] = { - "rgb", - "video", - "digital", - "usb", - "net" - }; + const char *switches[] = { "rgb", "video", "digital", "usb", "net" }; cmd = calloc(1, sizeof *cmd); if (!cmd) @@ -370,11 +364,7 @@ avmute(struct pjctl *pjctl, char **argv, int argc) int type = -1; int i; int on; - const char *targets[] = { - "video", - "audio", - "av" - }; + const char *targets[] = { "video", "audio", "av" }; cmd = calloc(1, sizeof *cmd); if (!cmd) |