From mi@aldan.algebra.com Sun Jun  6 12:52:51 1999
Return-Path: <mi@aldan.algebra.com>
Received: from kot.ne.mediaone.net (kot.ne.mediaone.net [24.218.12.203])
	by hub.freebsd.org (Postfix) with ESMTP id 3665E15606
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  6 Jun 1999 12:52:12 -0700 (PDT)
	(envelope-from mi@aldan.algebra.com)
Received: from rtfm.newton (rtfm.newton [10.10.0.1])
	by kot.ne.mediaone.net (8.9.1a/8.9.1) with ESMTP id PAA18867;
	Sun, 6 Jun 1999 15:50:45 -0400 (EDT)
Received: (from root@localhost)
	by rtfm.newton (8.9.3/8.9.1) id PAA72012;
	Mon, 7 Jun 1999 15:53:37 -0400 (EDT)
Message-Id: <199906071953.PAA72012@rtfm.newton>
Date: Mon, 7 Jun 1999 15:53:37 -0400 (EDT)
From: root@aldan.algebra.com
Sender: mi@aldan.algebra.com
Reply-To: mi@aldan.algebra.com
To: FreeBSD-gnats-submit@freebsd.org
Cc: dread@donhm.calcasieu.com
Subject: <ndbm.h> does not declare some implemented functions
X-Send-Pr-Version: 3.2

>Number:         12058
>Category:       bin
>Synopsis:       <ndbm.h> does not declare some implemented functions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun  6 13:00:01 PDT 1999
>Closed-Date:    Mon Jun 21 10:15:38 PDT 1999
>Last-Modified:  Mon Jun 21 10:16:22 PDT 1999
>Originator:     Mikhail Teterin
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
Virtual Estates, Inc.
>Environment:

>Description:

The functions are implemented, but not declared. There could be more :)

	int     dbm_error(DBM *);
	int     dbm_clearerr(DBM *);

>How-To-Repeat:

>Fix:
	
	Declare them yourself...

>Release-Note:
>Audit-Trail:

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));
 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Mon Jun 21 10:15:38 PDT 1999 
State-Changed-Why:  
Fixed in ndbm.h revision 1.3 . 
>Unformatted:
