From d9c4a95345bd758e45196b29368bd2ff0f2790e3 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:48 +0200 Subject: tagging ychat-0.5.2 --- cmnd/yc_version.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'cmnd/yc_version.cpp') diff --git a/cmnd/yc_version.cpp b/cmnd/yc_version.cpp index 5e686b7..454cf96 100644 --- a/cmnd/yc_version.cpp +++ b/cmnd/yc_version.cpp @@ -7,14 +7,15 @@ using namespace std; -extern "C" { - export int extern_function(void *v_arg); - int valid_color( string ); - - int extern_function(void *v_arg) - { - user *p_user = (user*) v_arg; - p_user->msg_post( new string( *new string(VERSION) + "
\n") ); - } +extern "C" +{ + export int extern_function(void *v_arg); + int valid_color( string ); + + int extern_function(void *v_arg) + { + user *p_user = (user*) v_arg; + p_user->msg_post( new string( *new string(VERSION) + "
\n") ); + } } -- cgit v1.2.3