summaryrefslogtreecommitdiff
path: root/pf.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-07-17 13:27:50 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-07-17 13:27:50 -0700
commit658d0022a87c5d3afe3e006e539c5c1b981a8d73 (patch)
tree32a42bdafe028982f8b76300a40fec62981cbd34 /pf.c
parentb7aafba248db5e9c3ba39e4819d0b9ae156d2c82 (diff)
Constify some simple cases
Diffstat (limited to 'pf.c')
-rw-r--r--pf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pf.c b/pf.c
index 3862a7c..e97a4bf 100644
--- a/pf.c
+++ b/pf.c
@@ -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];