summaryrefslogtreecommitdiff
path: root/ext/dbm/SDBM_File.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dbm/SDBM_File.xs')
-rw-r--r--ext/dbm/SDBM_File.xs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dbm/SDBM_File.xs b/ext/dbm/SDBM_File.xs
index 0b898ad171..25cb67c1fc 100644
--- a/ext/dbm/SDBM_File.xs
+++ b/ext/dbm/SDBM_File.xs
@@ -5,6 +5,7 @@
typedef DBM* SDBM_File;
#define sdbm_new(dbtype,filename,flags,mode) sdbm_open(filename,flags,mode)
+#define nextkey(db,key) sdbm_nextkey(db)
MODULE = SDBM_File PACKAGE = SDBM_File PREFIX = sdbm_
@@ -43,7 +44,7 @@ sdbm_firstkey(db)
SDBM_File db
datum
-sdbm_nextkey(db, key)
+nextkey(db, key)
SDBM_File db
datum key