summaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-01-17 08:42:28 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-01-17 08:42:28 +0000
commit0c93f4df3237a1ef5be0580386d4a4c68e3d8a51 (patch)
tree02ca7b9c2689e95104f0cb1f60ec8e11fc72a67f /src/librc
parentb1fcf4ce9ce1a70c302ad97f9905b966674e7590 (diff)
downloadopenrc-0c93f4df3237a1ef5be0580386d4a4c68e3d8a51.tar.gz
openrc-0c93f4df3237a1ef5be0580386d4a4c68e3d8a51.tar.bz2
openrc-0c93f4df3237a1ef5be0580386d4a4c68e3d8a51.tar.xz
Style fix: "while (" not "while(".
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/librc-misc.c2
-rw-r--r--src/librc/librc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c
index 97cec38..f83745f 100644
--- a/src/librc/librc-misc.c
+++ b/src/librc/librc-misc.c
@@ -61,7 +61,7 @@ rc_getline(char **line, size_t *len, FILE *fp)
char *p;
size_t last = 0;
- while(!feof(fp)) {
+ while (!feof(fp)) {
if (*line == NULL || last != 0) {
*len += BUFSIZ;
*line = xrealloc(*line, *len);
diff --git a/src/librc/librc.c b/src/librc/librc.c
index a5b0bbd..7062d16 100644
--- a/src/librc/librc.c
+++ b/src/librc/librc.c
@@ -209,7 +209,7 @@ rc_sys_v2(void)
if (systype) {
char* s = systype;
// Convert to uppercase
- while(s && *s) {
+ while (s && *s) {
if (islower((unsigned char)*s))
*s = toupper((unsigned char)*s);
s++;