diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 23:43:52 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-29 23:43:52 +0000 |
commit | 322661d025626d7a92482fec232d29f4450dd4b0 (patch) | |
tree | 66dcf2c776adea8556d2ebac5e3f7d8a27f05074 /include/libbb.h | |
parent | 89ef65f02463b27313ff0eba806aa6e4aec10716 (diff) |
preparatory patch for -Wwrite-strings #6
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index 99a9422f0..ed1c41a02 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 *); |