From owner-freebsd-questions@FreeBSD.ORG Sun Feb 13 22:40:04 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB369106564A for ; Sun, 13 Feb 2011 22:40:04 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 9973D8FC13 for ; Sun, 13 Feb 2011 22:40:04 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pokbl-00082z-R7 for questions@freebsd.org; Sun, 13 Feb 2011 14:39:59 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sun, 13 Feb 2011 14:39:59 -0800 Date: Sun, 13 Feb 2011 14:39:59 -0800 From: Chip Camden To: questions@freebsd.org Message-ID: <20110213223959.GF2807@libertas.local.camdensoftware.com> Mail-Followup-To: questions@freebsd.org References: <19800.23295.265146.528435@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iBwuxWUsK/REspAd" Content-Disposition: inline In-Reply-To: <19800.23295.265146.528435@jerusalem.litteratus.org> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Cc: Subject: Re: problem when including readline.h X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2011 22:40:04 -0000 --iBwuxWUsK/REspAd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Robert Huff on Sunday, 13 February 2011: > I'm writing a C program which, for various reasons, has the > warning level turned _way_ up. > I'm now getting this: >=20 > /usr/include/readline/readline.h:336: warning: redundant redeclaration of= 'rl_make_bare_keymap' > /usr/include/readline/keymaps.h:74: warning: previous declaration of 'rl_= make_bare_keymap' was here >=20 > and more like it. > Other than turning down the warning level, what's wrong and how > do I fix it? >=20 > Respectfully, >=20 >=20 > Robert Huff >=20 Both keymaps.h and readline.h declare rl_make_bare_keymap as an external function. Perhaps you shouldn't be including both files? --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://chipsquips.com | http://camdensoftware.com | http://chipstips.com --iBwuxWUsK/REspAd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNWF2/AAoJEIpckszW26+RTroH/iqw9y5JvOBHisTbDUw2ewvV NvxJFnWYcp9yJAepmJ+1nw23KTv7tAJIarxWzqw+846VSHi8UjkNQvTSBMrrGx0v waXJYTwdbFYZPEye0HhrMlo7PMo88PrQq7UEELD3rhpVxF0kaWoMFVH8nHurS2yZ yJPylGusf+CZoI/vRNyRXPngcm8eBSiAni2vOApiwiVLSFOhU0zOw1QQPbEvnYWa /BakiNs3uDub6X/GyywUuByhAo0JVN5mFSg8BUOectmTLVwuOfjtDdIFMMBWVoPJ pYvOAzfXynLmEZyLgE0k4Ruf7VTYRDM/fxRTuhG3E0lC15UH1BJeLoDsvUWqtxg= =z5D0 -----END PGP SIGNATURE----- --iBwuxWUsK/REspAd--