mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-08 11:12:36 +02:00
more ANSI/ISO C changes; start on converting the unwind-protect framework to ANSI C
This commit is contained in:
@@ -24,16 +24,9 @@
|
||||
|
||||
/* Generic pointer type. */
|
||||
#ifndef PTR_T
|
||||
|
||||
#if defined (__STDC__)
|
||||
# define PTR_T void *
|
||||
#else
|
||||
# define PTR_T char *
|
||||
#endif
|
||||
|
||||
#endif /* PTR_T */
|
||||
|
||||
|
||||
extern PTR_T sh_malloc (size_t, const char *, int);
|
||||
extern PTR_T sh_realloc (PTR_T, size_t, const char *, int);
|
||||
extern void sh_free (PTR_T, const char *, int);
|
||||
|
||||
Reference in New Issue
Block a user