summaryrefslogtreecommitdiff
path: root/src/librc/librc.c
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-01-17 08:46:41 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-01-17 08:46:41 +0000
commitb2d0656814c2afe9a05b3e130f0289b225a371ec (patch)
tree8a649f701aa5b51a2ee9a825d136711ba4b3d538 /src/librc/librc.c
parentc0a3e25d482d52102c04765767ed82d81407e7e8 (diff)
downloadopenrc-b2d0656814c2afe9a05b3e130f0289b225a371ec.tar.gz
openrc-b2d0656814c2afe9a05b3e130f0289b225a371ec.tar.bz2
openrc-b2d0656814c2afe9a05b3e130f0289b225a371ec.tar.xz
Style fix: "char *foo" not "char* foo".
Diffstat (limited to 'src/librc/librc.c')
-rw-r--r--src/librc/librc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c
index 0090036..a8fc71a 100644
--- a/src/librc/librc.c
+++ b/src/librc/librc.c
@@ -201,17 +201,17 @@ file_regex(const char *file, const char *regex)
const char *
rc_sys_v2(void)
{
-#define __STRING_SWITCH(x) { char* __string_switch = x; if (false) {}
+#define __STRING_SWITCH(x) { char *__string_switch = x; if (false) {}
#define __STRING_CASE(y) else if (strcmp(__string_switch,y) == 0)
#define __STRING_SWITCH_END() }
- char* systype = rc_conf_value("rc_sys");
+ char *systype = rc_conf_value("rc_sys");
/* New sys identification code */
if (systype) {
- char* s = systype;
+ char *s = systype;
/* Convert to uppercase */
while (s && *s) {
- if (islower((unsigned char)*s))
- *s = toupper((unsigned char)*s);
+ if (islower((unsigned char) *s))
+ *s = toupper((unsigned char) *s);
s++;
}
/* Now do detection */