[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch to avoid warning in gdbm.h
From: |
Petter Reinholdtsen |
Subject: |
patch to avoid warning in gdbm.h |
Date: |
Sun, 15 Jun 2003 13:51:31 +0200 |
With gdbm version 1.8.3, I get the following warning:
/local/include/gdbm.h:85: warning: function declaration isn't a prototype
This patch should fix the problem. Please include it in the next
version of gdbm.
diff -ur src-1.8.3/gdbm.proto src-1.8.3-local/gdbm.proto
--- src-1.8.3/gdbm.proto 1999-05-19 02:16:06.000000000 +0200
+++ src-1.8.3-local/gdbm.proto 2003-06-15 13:45:57.000000000 +0200
@@ -82,7 +82,7 @@
/* These are the routines! */
-extern GDBM_FILE gdbm_open __P((char *, int, int, int, void (*)()));
+extern GDBM_FILE gdbm_open __P((char *, int, int, int, void (*)(void)));
extern void gdbm_close __P((GDBM_FILE));
extern int gdbm_store __P((GDBM_FILE, datum, datum, int));
extern datum gdbm_fetch __P((GDBM_FILE, datum));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- patch to avoid warning in gdbm.h,
Petter Reinholdtsen <=