genericptr_T -> generic_T *

SCCS-file: private.h
SCCS-SID: 7.11
This commit is contained in:
Arthur David Olson
2012-07-18 03:02:15 -04:00
committed by Paul Eggert
parent 2910b5ee72
commit cb6584e60d
+7 -7
View File
@@ -80,14 +80,14 @@ static char privatehid[] = "%W%";
#endif /* !defined P */
/*
** genericptr_T
** generic_T
*/
#ifdef __STDC__
typedef void * genericptr_T;
typedef void generic_T;
#endif /* defined __STDC__ */
#ifndef __STDC__
typedef char * genericptr_T;
typedef char generic_T;
#endif /* !defined __STDC__ */
#include "sys/types.h" /* for time_t */
@@ -167,13 +167,13 @@ extern char * sprintf P((char * buf, const char * format, ...));
*/
extern char * getenv P((const char * name));
extern genericptr_T malloc P((alloc_size_T size));
extern genericptr_T calloc P((alloc_size_T nelem, alloc_size_T elsize));
extern genericptr_T realloc P((genericptr_T oldptr, alloc_size_T newsize));
extern generic_T * malloc P((alloc_size_T size));
extern generic_T * calloc P((alloc_size_T nelem, alloc_size_T elsize));
extern generic_T * realloc P((generic_T * oldptr, alloc_size_T newsize));
#ifdef USG
extern void exit P((int s));
extern void qsort P((genericptr_T base, qsort_size_T nelem,
extern void qsort P((generic_T * base, qsort_size_T nelem,
qsort_size_T elsize, int (*comp)()));
extern void perror P((const char * string));
extern void free P((char * buf));