Port ndbm.h

Vaibhav Gupta <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAP+cEONDi1uXJyYP5pR-OSxxZOj9zQ-UkruACtsdOEO5R_aRww@mail.gmail.com>
Hello everyone,
I have ported    ndbm.h    to newlib from FreeBSD.
I have placed     ndbm.h     to     newlib/libc/include     directory
and
ndbm.c     to    newlib/libc/posix     directory .

But I realized, the function declaration of __hash_open in newlib is:
DB      *__hash_open(const char *, int, int, int, const HASHINFO *);

and in FreeBSD it is:
DB      *__hash_open(const char *, int, int, const HASHINFO *, int);
.
.
.
.
Although I made required changes in    ndbm.c      but I guess maybe the
entire search.h should be updated to newer FreeBSD resource?
Should we do that?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.