Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 1999 02:50:01 -0700 (PDT)
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/12058: <ndbm.h> does not declare some implemented functions
Message-ID:  <199906080950.CAA19182@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/12058; it has been noted by GNATS.

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: freebsd-gnats-submit@freebsd.org
Cc: mi@aldan.algebra.com
Subject: Re: bin/12058: <ndbm.h> does not declare some implemented functions
Date: Tue, 08 Jun 1999 11:41:14 +0200

 Hi Mikhail,
 
 So assuming the missing declarations are an omission and that they're
 _supposed_ to be available (I don't see anything in _our_ source tree
 that uses 'em), you'd want something like this?
 
 Ciao,
 Sheldon.
 
 Index: ndbm.h
 ===================================================================
 RCS file: /home/ncvs/src/include/ndbm.h,v
 retrieving revision 1.2
 diff -u -d -r1.2 ndbm.h
 --- ndbm.h	1996/03/03 09:04:40	1.2
 +++ ndbm.h	1999/06/08 09:38:32
 @@ -63,8 +63,10 @@
  #define	dbm_pagfno(a)	DBM_PAGFNO_NOT_AVAILABLE
  
  __BEGIN_DECLS
 +int	 dbm_clearerr __P((DBM *));
  void	 dbm_close __P((DBM *));
  int	 dbm_delete __P((DBM *, datum));
 +int	 dbm_error __P((DBM *));
  datum	 dbm_fetch __P((DBM *, datum));
  datum	 dbm_firstkey __P((DBM *));
  long	 dbm_forder __P((DBM *, datum));
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906080950.CAA19182>