Skip to content
Snippets Groups Projects
Commit cde1f789 authored by Steven Murray's avatar Steven Murray
Browse files

Fixed the constness of the function declaration of Cinitdaemon()

parent 4c7452f9
Branches
Tags
No related merge requests found
......@@ -16,8 +16,8 @@
#include <string.h>
#include <serrno.h>
int Cinitdaemon(char *name,
void (*wait4child) (int))
int Cinitdaemon(const char *const name,
void (*const wait4child) (int))
{
int c;
int maxfds;
......
......@@ -21,5 +21,5 @@ struct main_args {
char **argv;
};
EXTERN_C int Cinitdaemon (char *, void (*) (int));
EXTERN_C int Cinitdaemon (const char *const name, void (*const wait4child) (int));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment