summaryrefslogtreecommitdiff
path: root/cmnd/yc_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cmnd/yc_test.cpp')
-rw-r--r--cmnd/yc_test.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/cmnd/yc_test.cpp b/cmnd/yc_test.cpp
index c96e889..deb3e54 100644
--- a/cmnd/yc_test.cpp
+++ b/cmnd/yc_test.cpp
@@ -2,12 +2,11 @@
using namespace std;
-extern "C"
-{
- export int function(void *v_arg);
+extern "C" {
+ export int function(void *v_arg);
- int function(void *v_arg)
- {
- cout << "Hallo " << (char*)v_arg << endl;
- }
+ int function(void *v_arg)
+ {
+ cout << "Hallo " << (char*)v_arg << endl;
+ }
}