summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-04 16:48:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-04 16:48:33 +0000
commit2ef53570a0a9292278fc7d34d7d21270dd5ac7f0 (patch)
treea734560face300cd24b4d5d32a10c26803c187da /ext
parent524189f16184b7c26cd5c891db0a97b3ccc255cc (diff)
downloadperl-2ef53570a0a9292278fc7d34d7d21270dd5ac7f0.tar.gz
Configure tweaks; add prototype probes, make the cpp symbols
probe to cast, not whine; test for %Ld and %Lf before %lld and %llf because the L is the ANSI way. p4raw-id: //depot/perl@10434
Diffstat (limited to 'ext')
-rw-r--r--ext/ODBM_File/ODBM_File.xs10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/ODBM_File/ODBM_File.xs b/ext/ODBM_File/ODBM_File.xs
index 27174ef062..3724dae962 100644
--- a/ext/ODBM_File/ODBM_File.xs
+++ b/ext/ODBM_File/ODBM_File.xs
@@ -15,6 +15,16 @@
# endif
#endif
+#ifndef HAS_DBMINIT_PROTO
+int dbminit(char* filename);
+int dbmclose(void);
+datum fetch(datum key);
+int store(datum key, datum dat);
+int delete(datum key);
+datum firstkey(void);
+datum nextkey(datum key);
+#endif
+
#ifdef DBM_BUG_DUPLICATE_FREE
/*
* DBM on at least Ultrix and HPUX call dbmclose() from dbminit(),