projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
api: use SS and PS options properly in sched.c
[libc-test]
/
src
/
api
/
ndbm.c
diff --git
a/src/api/ndbm.c
b/src/api/ndbm.c
index
f68a5e4
..
e06e9b4
100644
(file)
--- a/
src/api/ndbm.c
+++ b/
src/api/ndbm.c
@@
-1,3
+1,4
@@
+#ifdef X_NDBM
#include <ndbm.h>
#define T(t) (t*)0;
#define F(t,n) {t *y = &x.n;}
@@
-23,3
+24,6
@@
C(DBM_REPLACE)
{DBM*(*p)(const char*,int,mode_t) = dbm_open;}
{int(*p)(DBM*,datum,datum,int) = dbm_store;}
}
+#else
+static void f(){}
+#endif