update
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 13 Feb 2008 20:12:27 +0000 (20:12 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 13 Feb 2008 20:12:27 +0000 (20:12 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2816 04897980-b3bd-0310-b5e0-8ef037075253

markers-userspace/marker-lib.c

index 2c42d4c8394ce9a86cefa05cd7e6b2e80f929212..c13c9eec194fd7154151f4736cf75115422fc63a 100644 (file)
@@ -3,8 +3,11 @@
 #include <stdio.h>
 #include <errno.h>
 
-__attribute__ ((visibility ("protected"))) extern struct marker __start___markers[];
-__attribute__ ((visibility ("protected"))) extern struct marker __stop___markers[];
+__attribute__ ((visibility ("protected")))
+extern struct marker __start___markers[];
+
+__attribute__ ((visibility ("protected")))
+extern struct marker __stop___markers[];
 
 /**
  * __mark_empty_function - Empty probe callback
@@ -49,7 +52,8 @@ void testip(void)
        printf("addr : %p\n", __builtin_return_address(0));
 }
 
-__attribute__((constructor, visibility ("protected"))) void marker_init(void)
+__attribute__((constructor, visibility ("protected")))
+void marker_init(void)
 {
        struct marker *iter;
        int ret;
@@ -66,7 +70,8 @@ __attribute__((constructor, visibility ("protected"))) void marker_init(void)
        }
 }
 
-static __attribute__((destructor, visibility ("protected"))) void marker_fini(void)
+__attribute__((destructor, visibility ("protected")))
+void marker_fini(void)
 {
        struct marker *iter;
        int ret;
This page took 0.025308 seconds and 4 git commands to generate.