aboutsummaryrefslogtreecommitdiff
path: root/src/rc.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-19 12:46:08 +0000
committerRoy Marples <roy@marples.name>2007-12-19 12:46:08 +0000
commitcd45e5435762d8c6cd13287df7df16b97755176e (patch)
treeef0c7fb0a96e103e2a0dd79ee8c0f47f62ae7174 /src/rc.h
parent2f7218c9849e667ba20d76e4dfe46b4bb195063a (diff)
Introduce cbasename so we don't have to strdup(basename) and free all the time.
Diffstat (limited to 'src/rc.h')
-rw-r--r--src/rc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc.h b/src/rc.h
index 776c1678..b95c9c5d 100644
--- a/src/rc.h
+++ b/src/rc.h
@@ -150,7 +150,7 @@ char **rc_service_extra_commands (const char *service);
/*! Check if the service is allowed to be hot/cold plugged
* @param service to check
* @return true if allowed, otherwise false */
-bool rc_service_plugable (char *service);
+bool rc_service_plugable (const char *service);
/*! Resolves a service name to its full path.
* @param service to check