diff options
author | jbj <jbj> | 2001-06-04 13:55:58 +0000 |
---|---|---|
committer | jbj <jbj> | 2001-06-04 13:55:58 +0000 |
commit | 3ccd8f96a228f292d2ce6a2607718014bb07c4e2 (patch) | |
tree | 1be760b33fa79ac648e026d115dfadf1ef49bf8e /system.h | |
parent | 21b4ad5c539db1384330936d59416ffd9b63785d (diff) | |
download | libpopt-3ccd8f96a228f292d2ce6a2607718014bb07c4e2.tar.gz |
lclint fiddles.
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))) |