From f80394a20254938142011855f2954b3f63fe5909 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Tue, 15 Sep 2020 08:00:00 +0200 Subject: New upstream version 3.0.2 --- XAlloc.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'XAlloc.h') diff --git a/XAlloc.h b/XAlloc.h index 2d46405..b933423 100644 --- a/XAlloc.h +++ b/XAlloc.h @@ -1,5 +1,3 @@ -/* Do not edit this file. It was automatically generated. */ - #ifndef HEADER_XAlloc #define HEADER_XAlloc @@ -11,13 +9,13 @@ #include #include -extern void fail(void); +void fail(void); -extern void* xMalloc(size_t size); +void* xMalloc(size_t size); -extern void* xCalloc(size_t nmemb, size_t size); +void* xCalloc(size_t nmemb, size_t size); -extern void* xRealloc(void* ptr, size_t size); +void* xRealloc(void* ptr, size_t size); #undef xAsprintf @@ -38,9 +36,9 @@ extern void* xRealloc(void* ptr, size_t size); #endif #if (__has_attribute(nonnull) || \ ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))) -extern char* xStrdup_(const char* str) __attribute__((nonnull)); +char* xStrdup_(const char* str) __attribute__((nonnull)); #endif // __has_attribute(nonnull) || GNU C 3.3 or later -extern char* xStrdup_(const char* str); +char* xStrdup_(const char* str); #endif -- cgit v1.2.3