minix/lib/libc/compat/db/hash/compat_ndbmdatum.c

32 lines
1,010 B
C
Raw Normal View History

/* $NetBSD: compat_ndbmdatum.c,v 1.1 2005/09/13 01:44:09 christos Exp $ */
/*
* Written by Klaus Klein <kleink@NetBSD.org>, April 28, 2004.
* Public domain.
*/
#define __LIBC12_SOURCE__
#include "namespace.h"
#include <sys/cdefs.h>
#include <ndbm.h>
#include <compat/include/ndbm.h>
__warn_references(dbm_delete,
"warning: reference to compatibility dbm_delete();"
" include <ndbm.h> for correct reference")
__warn_references(dbm_fetch,
"warning: reference to compatibility dbm_fetch();"
" include <ndbm.h> for correct reference")
__warn_references(dbm_firstkey,
"warning: reference to compatibility dbm_firstkey();"
" include <ndbm.h> for correct reference")
__warn_references(dbm_nextkey,
"warning: reference to compatibility dbm_nextkey();"
" include <ndbm.h> for correct reference")
__warn_references(dbm_store,
"warning: reference to compatibility dbm_store();"
" include <ndbm.h> for correct reference")
#define datum datum12
#include "db/hash/ndbmdatum.c"