X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Fmarker.h;h=ad813bc2c07537009bdb4719cf3849c2a9344a8f;hb=6af64c431c0a521fc927fa72b9f4015397ce11d4;hp=146409c552b8ab6454228f11d8fefffe586982ba;hpb=4d65ee62f53c9e3b7c7b56d2067ab347f3ce90aa;p=ust.git diff --git a/libust/marker.h b/libust/marker.h index 146409c..ad813bc 100644 --- a/libust/marker.h +++ b/libust/marker.h @@ -29,9 +29,8 @@ #include "immediate.h" //ust// #include #include "kernelcompat.h" -#include "compiler.h" #include -#include "localerr.h" +#include "usterr.h" //ust// struct module; //ust// struct task_struct; @@ -308,8 +307,7 @@ static void __attribute__((constructor)) __markers__init(void) \ marker_register_lib(__start___markers, (((long)__stop___markers)-((long)__start___markers))/sizeof(struct marker));\ } -void marker_set_new_marker_cb(void (*cb)(struct marker *)); - -void init_markers(void); +extern void marker_set_new_marker_cb(void (*cb)(struct marker *)); +extern void init_markers(void); #endif