diff options
Diffstat (limited to 'src/librc')
-rw-r--r-- | src/librc/librc-daemon.c | 2 | ||||
-rw-r--r-- | src/librc/librc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librc/librc-daemon.c b/src/librc/librc-daemon.c index 9e7a97ab..863e80d1 100644 --- a/src/librc/librc-daemon.c +++ b/src/librc/librc-daemon.c @@ -611,7 +611,7 @@ rc_service_daemons_crashed(const char *service) i = 0; TAILQ_FOREACH(s, list, entries) argv[i++] = s->value; - argv[i] = '\0'; + argv[i] = NULL; } } diff --git a/src/librc/librc.c b/src/librc/librc.c index 90327097..9da1757f 100644 --- a/src/librc/librc.c +++ b/src/librc/librc.c @@ -15,7 +15,7 @@ * except according to the terms contained in the LICENSE file. */ -const char librc_copyright[] = "Copyright (c) 2007-2008 Roy Marples"; +static const char librc_copyright[] = "Copyright (c) 2007-2008 Roy Marples"; #include "queue.h" #include "librc.h" |