From 322661d025626d7a92482fec232d29f4450dd4b0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 29 Jan 2007 23:43:52 +0000 Subject: preparatory patch for -Wwrite-strings #6 --- include/libbb.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/libbb.h') 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 *); -- cgit v1.2.3