X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FPapi.h;h=f8acab7a4b20094f9eea85c11774b9a9274e08fe;hb=661c97c65e5fa47177502e592bb763f752b487ac;hp=8658d8ccac8bef9ab8e52f49d5fda61a09304a7b;hpb=7d7c187b4a12f1bb350e85cdb0115e19537cc704;p=ghc-hetmet.git diff --git a/rts/Papi.h b/rts/Papi.h index 8658d8c..f8acab7 100644 --- a/rts/Papi.h +++ b/rts/Papi.h @@ -8,7 +8,7 @@ #ifndef PAPI_H #define PAPI_H -#pragma GCC visibility push(hidden) +BEGIN_RTS_PRIVATE /* Check the error value of a PAPI call, reporting an error, if needed */ extern int papi_error; @@ -31,6 +31,6 @@ void papi_stop_gc1_count(void); void papi_thread_start_gc1_count(int event_set); void papi_thread_stop_gc1_count(int event_set); -#pragma GCC visibility pop +END_RTS_PRIVATE #endif /* PAPI_H */