summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-29 23:43:52 +0000
committerDenis Vlasenko2007-01-29 23:43:52 +0000
commit322661d025626d7a92482fec232d29f4450dd4b0 (patch)
tree66dcf2c776adea8556d2ebac5e3f7d8a27f05074 /include
parent89ef65f02463b27313ff0eba806aa6e4aec10716 (diff)
downloadbusybox-322661d025626d7a92482fec232d29f4450dd4b0.zip
busybox-322661d025626d7a92482fec232d29f4450dd4b0.tar.gz
preparatory patch for -Wwrite-strings #6
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 99a9422..ed1c41a 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -123,8 +123,8 @@
/* This structure defines protocol families and their handlers. */
struct aftype {
- char *name;
- char *title;
+ const char *name;
+ const char *title;
int af;
int alen;
char *(*print) (unsigned char *);
@@ -143,8 +143,8 @@ struct aftype {
/* This structure defines hardware protocols and their handlers. */
struct hwtype {
- char *name;
- char *title;
+ const char *name;
+ const char *title;
int type;
int alen;
char *(*print) (unsigned char *);