summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-02-06 11:31:06 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-02-06 11:31:06 -0800
commit389e01fb51ba2d708015e27d8fc17c88a0e55802 (patch)
tree11f15580ea602cb0aa33c1d47e4769e07faa426e
parentcca91ddaae2121f42b2d5c08867bb93df8f9de13 (diff)
Constify string argument to is_numeric
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r--Xtransutil.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Xtransutil.c b/Xtransutil.c
index 6c4d93f..b4e03fe 100644
--- a/Xtransutil.c
+++ b/Xtransutil.c
@@ -448,8 +448,7 @@ TRANS(WSAStartup) (void)
#include <ctype.h>
static int
-is_numeric (char *str)
-
+is_numeric (const char *str)
{
int i;