diff options
Diffstat (limited to 'xmalloc.h')
-rw-r--r-- | xmalloc.h | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1,6 +1,6 @@ /* xmalloc.h -- memory allocation that aborts on errors. */ -/* Copyright (C) 1999-2009,2010-2021 Free Software Foundation, Inc. +/* Copyright (C) 1999-2009,2010-2023 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -29,13 +29,7 @@ #endif #ifndef PTR_T - -#ifdef __STDC__ -# define PTR_T void * -#else -# define PTR_T char * -#endif - +# define PTR_T void * #endif /* !PTR_T */ extern PTR_T xmalloc (size_t); |