Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 2003 22:27:04 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        priit.piipuu@mail.ee
Cc:        hackers@freebsd.org
Subject:   Re: libedit and g++
Message-ID:  <20030713.222704.37593425.imp@bsdimp.com>
In-Reply-To: <20030714014658.GD5738@minerva.meskaliin.ee>
References:  <20030714014658.GD5738@minerva.meskaliin.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sys/types.h>
 #include <stdio.h>
 
+__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_ */



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