Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2002 06:00:34 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        current@freebsd.org
Subject:   Is it bad to use index() internally in libc?
Message-ID:  <20020608030034.GA21440@hades.hell.gr>

next in thread | raw e-mail | index | archive | help
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




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