diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-06 22:38:36 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-06 22:38:36 -0700 |
commit | 3b8fed17575db9d8d571d240bbaebd05d4547060 (patch) | |
tree | d4dce085597f7cc5142405373cd2b8773277de65 /xpr.c | |
parent | b7d620037e130de1b0b309119c045d4f6a6ba8c5 (diff) |
Add const attributes to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xpr.c')
-rw-r--r-- | xpr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -131,8 +131,8 @@ int debug = 0; #define DEFAULT_CUTOFF ((unsigned int) (0xFFFF * 0.50)) -static char *infilename = NULL; -char *progname = NULL; +static const char *infilename = NULL; +const char *progname = NULL; typedef struct _grayRec { int level; |