diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-07-17 13:27:50 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-07-17 13:27:50 -0700 |
commit | 658d0022a87c5d3afe3e006e539c5c1b981a8d73 (patch) | |
tree | 32a42bdafe028982f8b76300a40fec62981cbd34 /pf.c | |
parent | b7aafba248db5e9c3ba39e4819d0b9ae156d2c82 (diff) |
Constify some simple cases
Diffstat (limited to 'pf.c')
-rw-r--r-- | pf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,10 +34,10 @@ from The Open Group. #include "xmodmap.h" #define NOTINFILEFILENAME "commandline" -char *inputFilename = NOTINFILEFILENAME; +const char *inputFilename = NOTINFILEFILENAME; int lineno = 0; -void process_file (char *filename) /* NULL means use stdin */ +void process_file (const char *filename) /* NULL means use stdin */ { FILE *fp; char buffer[BUFSIZ]; |