summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-11-09 18:31:50 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-11-09 18:31:50 +0100
commit98c3af3faaae87e868dd2eb6934f2189a7bb4ed6 (patch)
tree87b71f51b455ccc07d6360f89d4e77445b9641a2 /src
parent54b44515d744b0c25fe2c5e4a25e77ebb54faab1 (diff)
downloadpjctl-98c3af3faaae87e868dd2eb6934f2189a7bb4ed6.tar.gz
pjctl-98c3af3faaae87e868dd2eb6934f2189a7bb4ed6.tar.bz2
pjctl-98c3af3faaae87e868dd2eb6934f2189a7bb4ed6.zip
Put switches and targets arrays on one line
Diffstat (limited to 'src')
-rw-r--r--src/pjctl.c14
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)