[v2] Port ndbm - Remove Declaration of dbm_forder

Message ID 20190725132450.26448-1-vaibhavgupta40@gmail.com
State New
Headers show
Series
  • [v2] Port ndbm - Remove Declaration of dbm_forder
Related show

Commit Message

Vaibhav Gupta July 25, 2019, 1:24 p.m.
---
 newlib/libc/include/ndbm.h | 3 ---
 1 file changed, 3 deletions(-)

-- 
2.21.0

Comments

Corinna Vinschen July 25, 2019, 1:31 p.m. | #1
On Jul 25 18:54, Vaibhav Gupta wrote:
> ---

>  newlib/libc/include/ndbm.h | 3 ---

>  1 file changed, 3 deletions(-)

> 

> diff --git a/newlib/libc/include/ndbm.h b/newlib/libc/include/ndbm.h

> index 6c803702e..c5084b9c2 100644

> --- a/newlib/libc/include/ndbm.h

> +++ b/newlib/libc/include/ndbm.h

> @@ -79,9 +79,6 @@ int	 dbm_delete(DBM *, datum);

>  int	 dbm_error(DBM *);

>  datum	 dbm_fetch(DBM *, datum);

>  datum	 dbm_firstkey(DBM *);

> -#if __BSD_VISIBLE

> -long	 dbm_forder(DBM *, datum);

> -#endif

>  datum	 dbm_nextkey(DBM *);

>  DBM	*dbm_open(const char *, int, mode_t);

>  int	 dbm_store(DBM *, datum, datum, int);

> -- 

> 2.21.0


Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
Vaibhav Gupta July 25, 2019, 1:33 p.m. | #2
On Thu, Jul 25, 2019 at 7:01 PM Corinna Vinschen <vinschen@redhat.com>
wrote:

> On Jul 25 18:54, Vaibhav Gupta wrote:

> > ---

> >  newlib/libc/include/ndbm.h | 3 ---

> >  1 file changed, 3 deletions(-)

> >

> > diff --git a/newlib/libc/include/ndbm.h b/newlib/libc/include/ndbm.h

> > index 6c803702e..c5084b9c2 100644

> > --- a/newlib/libc/include/ndbm.h

> > +++ b/newlib/libc/include/ndbm.h

> > @@ -79,9 +79,6 @@ int  dbm_delete(DBM *, datum);

> >  int   dbm_error(DBM *);

> >  datum         dbm_fetch(DBM *, datum);

> >  datum         dbm_firstkey(DBM *);

> > -#if __BSD_VISIBLE

> > -long  dbm_forder(DBM *, datum);

> > -#endif

> >  datum         dbm_nextkey(DBM *);

> >  DBM  *dbm_open(const char *, int, mode_t);

> >  int   dbm_store(DBM *, datum, datum, int);

> > --

> > 2.21.0

>

> Pushed.

>

Thanks for considering it !
Vaibhav Gupta

>

>

> Thanks,

> Corinna

>

> --

> Corinna Vinschen

> Cygwin Maintainer

> Red Hat

>

Patch

diff --git a/newlib/libc/include/ndbm.h b/newlib/libc/include/ndbm.h
index 6c803702e..c5084b9c2 100644
--- a/newlib/libc/include/ndbm.h
+++ b/newlib/libc/include/ndbm.h
@@ -79,9 +79,6 @@  int	 dbm_delete(DBM *, datum);
 int	 dbm_error(DBM *);
 datum	 dbm_fetch(DBM *, datum);
 datum	 dbm_firstkey(DBM *);
-#if __BSD_VISIBLE
-long	 dbm_forder(DBM *, datum);
-#endif
 datum	 dbm_nextkey(DBM *);
 DBM	*dbm_open(const char *, int, mode_t);
 int	 dbm_store(DBM *, datum, datum, int);