From 1f4802b745aa172d375cb79403cb1e013e6aa4c0 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 9 Mar 2013 13:33:20 -0800 Subject: Remove old strtoul workaround for SunOS 4 Signed-off-by: Alan Coopersmith --- src/ResConfig.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src') 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++; -- cgit v1.2.3