Declare RTS-private prototypes with __attribute__((visibility("hidden")))
[ghc-hetmet.git] / rts / Ticker.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team 2005
4  *
5  * Interface to the OS-specific implementation of a regular time signal.
6  *
7  * ---------------------------------------------------------------------------*/
8
9 #ifndef TICKER_H
10 #define TICKER_H
11
12 #pragma GCC visibility push(hidden)
13
14 typedef void (*TickProc)(int);
15
16 void initTicker  (nat ms, TickProc handle_tick);
17 void startTicker (void);
18 void stopTicker  (void);
19 void exitTicker  (void);
20
21 #pragma GCC visibility pop
22
23 #endif /* TICKER_H */