summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-27 20:32:42 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-27 20:33:14 -0700
commite144ec9018cabd1d9904fb6d04382d2cf06ec3dc (patch)
tree041c96a632cb2081935d5aedb664775596d7d2f1 /utils.h
parentcefec39d93846c2d034be9a89f48466831eddde6 (diff)
Replace uStringDup() with direct calls to strdup()
strdup is available in Unix98 and later, so part of the X.Org base platform requirements. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/utils.h b/utils.h
index d9cf438..cbb55f9 100644
--- a/utils.h
+++ b/utils.h
@@ -99,11 +99,6 @@ extern void uInternalError(const char *s, ...);
extern int uStrCaseCmp(const char * /* s1 */ ,
const char * /* s2 */);
#endif
-#ifdef HAVE_STRDUP
-#define uStringDup(s1) (strdup(s1))
-#else
-extern char *uStringDup(const char * /* s1 */);
-#endif
/***====================================================================***/