summaryrefslogtreecommitdiff
path: root/arg.h
diff options
context:
space:
mode:
authordrkhsh <me@drkhsh.at>2022-10-28 00:49:31 +0200
committerdrkhsh <me@drkhsh.at>2022-10-28 01:03:31 +0200
commit2104dc362ca7336d98499a5945ea2a3d371f7568 (patch)
treec7859bd5b27dcc4ee9a2c84b939d099c42167a9c /arg.h
parent0696635bcbad06770cce7d5a4c9e8e4d76868307 (diff)
downloadslstatus-2104dc362ca7336d98499a5945ea2a3d371f7568.tar.gz
radical re-formatting 1/3: Fix spacing
Fixes coding style. Formatting commits suck, incoherent coding style sucks more. https://suckless.org/coding_style/
Diffstat (limited to 'arg.h')
-rw-r--r--arg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arg.h b/arg.h
index e0adb9f..5f1f408 100644
--- a/arg.h
+++ b/arg.h
@@ -13,7 +13,7 @@ extern char *argv0;
break; \
} \
for (i_ = 1, argused_ = 0; (*argv)[i_]; i_++) { \
- switch((*argv)[i_])
+ switch ((*argv)[i_])
#define ARGEND if (argused_) { \
if ((*argv)[i_ + 1]) { \
break; \
@@ -24,7 +24,7 @@ extern char *argv0;
} \
} \
}
-#define ARGC() ((*argv)[i_])
+#define ARGC() ((*argv)[i_])
#define ARGF_(x) (((*argv)[i_ + 1]) ? (argused_ = 1, &((*argv)[i_ + 1])) : \
(*(argv + 1)) ? (argused_ = 1, *(argv + 1)) : (x))
#define EARGF(x) ARGF_(((x), exit(1), (char *)0))