diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:48 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:48 +0200 |
| commit | d9c4a95345bd758e45196b29368bd2ff0f2790e3 (patch) | |
| tree | 8e7aa76f3f2a3a064f440f7410e4ec01cd34a78f /cmnd/yc_version.cpp | |
| parent | d4c9f10efe815af146438cafb694d16da0e5650a (diff) | |
tagging ychat-0.5.2ychat-0.5.2
Diffstat (limited to 'cmnd/yc_version.cpp')
| -rw-r--r-- | cmnd/yc_version.cpp | 19 |
1 files changed, 10 insertions, 9 deletions
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) + "<br>\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) + "<br>\n") ); + } } |
