summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorjbj <jbj>2001-06-04 13:55:58 +0000
committerjbj <jbj>2001-06-04 13:55:58 +0000
commit3ccd8f96a228f292d2ce6a2607718014bb07c4e2 (patch)
tree1be760b33fa79ac648e026d115dfadf1ef49bf8e /system.h
parent21b4ad5c539db1384330936d59416ffd9b63785d (diff)
downloadlibpopt-3ccd8f96a228f292d2ce6a2607718014bb07c4e2.tar.gz
lclint fiddles.
Diffstat (limited to 'system.h')
-rw-r--r--system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system.h b/system.h
index 8015c64..2ff7588 100644
--- a/system.h
+++ b/system.h
@@ -42,9 +42,9 @@ char *alloca ();
#define alloca __builtin_alloca
#endif
+#if !defined(__LCLINT__)
/*@only@*/ char * xstrdup (const char *str);
-#if !defined(__LCLINT__)
#if HAVE_MCHECK_H && defined(__GNUC__)
#define vmefail() (fprintf(stderr, "virtual memory exhausted.\n"), exit(EXIT_FAILURE), NULL)
#define xstrdup(_str) (strcpy((malloc(strlen(_str)+1) ? : vmefail()), (_str)))