Date: Sun, 20 Oct 2002 03:01:58 -0700 From: Kris Kennaway <kris@obsecurity.org> To: current@FreeBSD.org Subject: Conflicting declarations for ffs() Message-ID: <20021020100158.GA18938@xor.obsecurity.org>
next in thread | raw e-mail | index | archive | help
--vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Take a look at: http://bento.freebsd.org/errorlogs/5-full/cqcam-0.91_1.log This port includes headers that declare the ffs() function twice: once with an inline version and once with a prototype. Is the bug in the application, or the headers? Kris ---- In file included from ../libcqcam/port.h:44, from ../libcqcam/camera.h:26, from cqcam.C:28: /usr/include/machine/cpufunc.h: In function `int ffs(int)': /usr/include/machine/cpufunc.h:109: `int ffs(int)' was declared `extern' an= d=20 later `static' /usr/include/strings.h:44: previous declaration of `int ffs(int)' *** Error code 1 --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9sn8VWry0BWjoQKURAgAbAKCb32HHfDUWJmSTOvyNZxxrfPxBHQCeNaxp Vtwq5HOJXpcmaIL31Vq53vg= =ddJj -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL-- 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?20021020100158.GA18938>