From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 13 21:28:26 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3621D37B401 for ; Sun, 13 Jul 2003 21:28:26 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11DC943F93 for ; Sun, 13 Jul 2003 21:28:25 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h6E4R9cF004818; Sun, 13 Jul 2003 22:28:24 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 13 Jul 2003 22:27:04 -0600 (MDT) Message-Id: <20030713.222704.37593425.imp@bsdimp.com> To: priit.piipuu@mail.ee From: "M. Warner Losh" In-Reply-To: <20030714014658.GD5738@minerva.meskaliin.ee> References: <20030714014658.GD5738@minerva.meskaliin.ee> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: libedit and g++ X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 04:28:26 -0000 please try the following patch: Index: include/histedit.h =================================================================== RCS file: /home/ncvs/src/include/histedit.h,v retrieving revision 1.8 diff -u -r1.8 histedit.h --- include/histedit.h 16 Jun 2002 08:29:33 -0000 1.8 +++ include/histedit.h 14 Jul 2003 04:26:41 -0000 @@ -47,6 +47,8 @@ #include #include +__BEGIN_DECLS + /* * ==== Editing ==== */ @@ -193,5 +195,7 @@ #define H_LOAD 17 /* , const char *); */ #define H_SAVE 18 /* , const char *); */ #define H_CLEAR 19 /* , void); */ + +__END_DECLS #endif /* _HISTEDIT_H_ */