From abd2f29c445d73e92e351fdc6e01562998fbe4bd Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Tue, 4 Aug 2009 20:00:24 +0200 Subject: [PATCH] Pull in roken and use ROKEN_CPP_BEGIN/ROKEN_CPP_END instead of cdecl --- lib/roken/vis.hin | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/roken/vis.hin b/lib/roken/vis.hin index 64274526e..737b2eb8f 100644 --- a/lib/roken/vis.hin +++ b/lib/roken/vis.hin @@ -44,6 +44,8 @@ #include +#include + /* * to select alternate encoding format */ @@ -80,9 +82,8 @@ */ #define UNVIS_END 1 /* no more characters */ -#include +ROKEN_CPP_START -__BEGIN_DECLS char * ROKEN_LIB_FUNCTION rk_vis(char *, int, int, int); char * ROKEN_LIB_FUNCTION @@ -101,7 +102,7 @@ int ROKEN_LIB_FUNCTION rk_strunvisx(char *, const char *, int); int ROKEN_LIB_FUNCTION rk_unvis(char *, int, int *, int); -__END_DECLS +ROKEN_CPP_END #undef vis #define vis(a,b,c,d) rk_vis(a,b,c,d) -- 2.11.4.GIT