summaryrefslogtreecommitdiff
path: root/ext/SDBM_File
diff options
context:
space:
mode:
authorChip Salzenberg <chip@atlantic.net>1996-12-23 12:15:29 +1200
committerChip Salzenberg <chip@atlantic.net>1996-12-23 12:58:58 +1200
commit1e7d9bb3af1c5771677f0f3194edb8a4a9290aff (patch)
tree801a62a6c035d7cdfcc3f2826b53b41202750a92 /ext/SDBM_File
parent65b4279206ea6fcad71f8324cea7e6e1a6217b64 (diff)
downloadperl-1e7d9bb3af1c5771677f0f3194edb8a4a9290aff.tar.gz
Use "proto" instead of "_" in sdbm.h
Diffstat (limited to 'ext/SDBM_File')
-rw-r--r--ext/SDBM_File/sdbm/sdbm.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/SDBM_File/sdbm/sdbm.h b/ext/SDBM_File/sdbm/sdbm.h
index c9b28f5c66..4eeb147f43 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 */