struct trans {
long value; /* The numeric value */
- char *name; /* The equivalent symbolic value */
- char *desc; /* Short description of value */
+ const char *name; /* The equivalent symbolic value */
+ const char *desc; /* Short description of value */
};
static int procfs_trace = 0;
}
void
-procfs_note (char *msg, char *file, int line)
+procfs_note (const char *msg, const char *file, int line)
{
prepare_to_trace ();
if (procfs_trace)
}
}
-
-/* Provide a prototype to silence -Wmissing-prototypes. */
-extern void _initialize_proc_api (void);
-
void
_initialize_proc_api (void)
{