From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 14 03:08:19 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 D8A0D37B401 for ; Mon, 14 Jul 2003 03:08:19 -0700 (PDT) Received: from 213-219-73-159-dsl.mus.estpak.ee (213-219-73-159-dsl.mus.estpak.ee [213.219.73.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DAD543F85 for ; Mon, 14 Jul 2003 03:08:18 -0700 (PDT) (envelope-from priitp@213-219-73-159-dsl.mus.estpak.ee) Received: from 213-219-73-159-dsl.mus.estpak.ee (localhost.meskaliin [127.0.0.1])h6ECmuaV060962; Mon, 14 Jul 2003 12:48:56 GMT (envelope-from priitp@213-219-73-159-dsl.mus.estpak.ee) Received: (from priitp@localhost)h6ECmrGR060961; Mon, 14 Jul 2003 12:48:53 GMT Date: Mon, 14 Jul 2003 12:48:53 +0000 From: Priit Piipuu To: "M. Warner Losh" Message-ID: <20030714124852.GE5738@minerva.meskaliin.ee> References: <20030714014658.GD5738@minerva.meskaliin.ee> <20030713.222704.37593425.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030713.222704.37593425.imp@bsdimp.com> X-Operating-System: FreeBSD 5.1-CURRENT i386 User-Agent: Mutt/1.5.4i 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 10:08:20 -0000 P, 13 juuli2003 kirjutas M. Warner Losh : > 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_ */ Works well, thanks! -- Priit Piipuu