libedit and g++
Priit Piipuu
priit.piipuu at mail.ee
Mon Jul 14 03:08:20 PDT 2003
P, 13 juuli2003 kirjutas M. Warner Losh <imp at 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
More information about the freebsd-hackers
mailing list