summaryrefslogtreecommitdiff
path: root/networking/udhcp/files.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/files.h')
-rw-r--r--networking/udhcp/files.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/udhcp/files.h b/networking/udhcp/files.h
index 1f2638f..279738a 100644
--- a/networking/udhcp/files.h
+++ b/networking/udhcp/files.h
@@ -3,15 +3,15 @@
#define _FILES_H
struct config_keyword {
- char keyword[14];
- int (*handler)(char *line, void *var);
+ const char *keyword;
+ int (* const handler)(const char *line, void *var);
void *var;
- char def[30];
+ const char *def;
};
-int read_config(char *file);
+int read_config(const char *file);
void write_leases(void);
-void read_leases(char *file);
+void read_leases(const char *file);
#endif