*/
#include "config.h"
+#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <glib.h>
}
char *
-remove_sep(char *base)
+remove_sep(const char *base)
{
char *p;
char *s = g_strdup(base);
}
/* get the id without the first underscore, but only if we're removing them */
-char *
-get_real_id(char *id)
+const char *
+get_real_id(const char *id)
{
- if(!no_kill_underscores &&
- id[0] == '_' &&
- id[1] != '\0')
+ if( ! no_kill_underscores &&
+ id[0] == '_' &&
+ id[1] != '\0')
return &id[1];
else
return id;