summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-03-09 13:33:20 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-04-26 19:24:35 -0700
commit1f4802b745aa172d375cb79403cb1e013e6aa4c0 (patch)
tree8c805bdfaa4853e2765fa7d16173e2dc89f6b057 /src
parent9264a21b688891dbdcee630ff72cf39aa75fc4e1 (diff)
Remove old strtoul workaround for SunOS 4
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/ResConfig.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ResConfig.c b/src/ResConfig.c
index 1f3edbe..161366a 100644
--- a/src/ResConfig.c
+++ b/src/ResConfig.c
@@ -72,13 +72,6 @@ static void _search_child(Widget, char *, char *, char *, char *, char, char *);
static void _set_and_search(Widget, char *, char *, char *, char *, char , char *);
static int _locate_children(Widget, Widget **);
-#if defined(sun) && !defined(SVR4)
-# define Strtoul(a,b,c) (unsigned long)strtol(a,b,c)
-#else
-# define Strtoul(a,b,c) strtoul(a,b,c)
-#endif
-
-
/*
* NAME: _set_resource_values
*
@@ -974,7 +967,7 @@ _XtResourceConfigurationEH (
char *data_end = data + nitems;
char *data_value;
- resource_len = Strtoul ((void *)data, &data_ptr, 10);
+ resource_len = strtoul (data, &data_ptr, 10);
if (data_ptr != (char *) data) {
data_ptr++;