From owner-freebsd-current Fri Jun 7 20:23:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id B1C5737B405 for ; Fri, 7 Jun 2002 20:23:41 -0700 (PDT) Received: from hades.hell.gr (patr530-a182.otenet.gr [212.205.215.182]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g583NZZN008989; Sat, 8 Jun 2002 06:23:36 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.3/8.12.3) with ESMTP id g583NYUP021713; Sat, 8 Jun 2002 06:23:34 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.3/8.12.3/Submit) id g5830ZHJ021584; Sat, 8 Jun 2002 06:00:35 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sat, 8 Jun 2002 06:00:34 +0300 From: Giorgos Keramidas To: Bruce Evans Cc: current@freebsd.org Subject: Is it bad to use index() internally in libc? Message-ID: <20020608030034.GA21440@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG WARNS=5 is rather picky about our libc in CURRENT. One of the warnings I can see is: /home/charon/a/freebsd/src/lib/libc/db/btree/bt_delete.c: In function `__bt_stkacq': /home/charon/a/freebsd/src/lib/libc/db/btree/bt_delete.c:155: warning: declaration of `index' shadows a global declaration Is it worth going through the file and changing `index' with something that does not conflict with index(3)? - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message