Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2003 12:48:53 +0000
From:      Priit Piipuu <priit.piipuu@mail.ee>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        hackers@freebsd.org
Subject:   Re: libedit and g++
Message-ID:  <20030714124852.GE5738@minerva.meskaliin.ee>
In-Reply-To: <20030713.222704.37593425.imp@bsdimp.com>
References:  <20030714014658.GD5738@minerva.meskaliin.ee> <20030713.222704.37593425.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
P, 13 juuli2003 kirjutas M. Warner Losh <imp@bsdimp.com>:
> 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_ */


Works well, thanks!


-- 
Priit Piipuu



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