summaryrefslogtreecommitdiff
path: root/lib/pid_output.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-07 19:33:46 +0000
committerhasso <hasso>2004-10-07 19:33:46 +0000
commit6ad96ea16ee54578391bb4ca88d047ac9d3654fc (patch)
tree7a09427aaafcc48fe644ed4c2e6804005732b88f /lib/pid_output.c
parent015253c3f14cacad85a761fae0259ad32f083d4a (diff)
Make more strings const.
Diffstat (limited to 'lib/pid_output.c')
-rw-r--r--lib/pid_output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pid_output.c b/lib/pid_output.c
index 2d90afca..fca7ec83 100644
--- a/lib/pid_output.c
+++ b/lib/pid_output.c
@@ -24,10 +24,10 @@
#include <fcntl.h>
#include <log.h>
-pid_t pid_output_lock(char *);
+pid_t pid_output_lock(const char *);
pid_t
-pid_output (char *path)
+pid_output (const char *path)
{
#ifndef HAVE_FCNTL
FILE *fp;
@@ -54,7 +54,7 @@ pid_output (char *path)
#ifdef HAVE_FCNTL
pid_t
-pid_output_lock (char *path)
+pid_output_lock (const char *path)
{
int tmp;
int fd;