From: Chip Salzenberg Date: Mon, 23 Dec 1996 00:15:29 +0000 (+1200) Subject: Use "proto" instead of "_" in sdbm.h X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1e7d9bb3af1c5771677f0f3194edb8a4a9290aff;p=p5sagit%2Fp5-mst-13.2.git Use "proto" instead of "_" in sdbm.h --- diff --git a/ext/SDBM_File/sdbm/sdbm.h b/ext/SDBM_File/sdbm/sdbm.h index c9b28f5..4eeb147 100644 --- a/ext/SDBM_File/sdbm/sdbm.h +++ b/ext/SDBM_File/sdbm/sdbm.h @@ -168,10 +168,10 @@ extern long sdbm_hash proto((char *, int)); # define free Perl_free # endif - Malloc_t malloc _((MEM_SIZE nbytes)); - Malloc_t calloc _((MEM_SIZE elements, MEM_SIZE size)); - Malloc_t realloc _((Malloc_t where, MEM_SIZE nbytes)); - Free_t free _((Malloc_t where)); + Malloc_t malloc proto((MEM_SIZE nbytes)); + Malloc_t calloc proto((MEM_SIZE elements, MEM_SIZE size)); + Malloc_t realloc proto((Malloc_t where, MEM_SIZE nbytes)); + Free_t free proto((Malloc_t where)); #endif /* MYMALLOC && (HIDEMYMALLOC || EMBEDMYMALLOC) */ @@ -188,7 +188,7 @@ extern long sdbm_hash proto((char *, int)); #ifdef HAS_MEMCPY # if !defined(STANDARD_C) && !defined(I_STRING) && !defined(I_MEMORY) # ifndef memcpy - extern char * memcpy _((char*, char*, int)); + extern char * memcpy proto((char*, char*, int)); # endif # endif #else @@ -204,7 +204,7 @@ extern long sdbm_hash proto((char *, int)); #ifdef HAS_MEMSET # if !defined(STANDARD_C) && !defined(I_STRING) && !defined(I_MEMORY) # ifndef memset - extern char *memset _((char*, int, int)); + extern char *memset proto((char*, int, int)); # endif # endif # define memzero(d,l) memset(d,0,l) @@ -225,7 +225,7 @@ extern long sdbm_hash proto((char *, int)); #if defined(HAS_MEMCMP) && defined(HAS_SANE_MEMCMP) # if !defined(STANDARD_C) && !defined(I_STRING) && !defined(I_MEMORY) # ifndef memcmp - extern int memcmp _((char*, char*, int)); + extern int memcmp proto((char*, char*, int)); # endif # endif # ifdef BUGGY_MSC @@ -239,7 +239,7 @@ extern long sdbm_hash proto((char *, int)); # else # define memcmp Perl_my_memcmp # endif - extern int memcmp _((char*, char*, int)); + extern int memcmp proto((char*, char*, int)); # endif #endif /* HAS_MEMCMP */