/*#*
*#* $Log$
+ *#* Revision 1.2 2006/01/16 03:30:21 bernie
+ *#* Make header C++ friendly.
+ *#*
*#* Revision 1.1 2005/11/27 03:58:18 bernie
*#* Add POSIX timer emulator.
*#*
void timer_isr(int);
/// HW dependent timer initialization.
-extern "C" static void timer_hw_init(void)
+EXTERN_C static void timer_hw_init(void)
{
struct sigaction sa;
memset(&sa, 0, sizeof(sa));
setitimer(ITIMER_REAL, &itv, NULL);
}
-extern "C" INLINE hptime_t timer_hw_hpread(void)
+INLINE hptime_t timer_hw_hpread(void)
{
return hptime_get();
}
/*#*
*#* $Log$
+ *#* Revision 1.4 2006/01/16 03:30:57 bernie
+ *#* Make header C++ friendly.
+ *#*
*#* Revision 1.3 2005/11/27 23:33:40 bernie
*#* Use appconfig.h instead of cfg/config.h.
*#*
#include <cfg/compiler.h>
#include <cfg/cpu.h>
+EXTERN_C_BEGIN
/*! Common type for coordinates expressed in pixel units */
typedef int coord_t;
extern void gfx_vline(Bitmap *bm, vcoord_t x1, vcoord_t y1, vcoord_t x2, vcoord_t y2);
#endif /* CONFIG_GFX_VCOORDS */
+EXTERN_C_END
+
#endif /* GFX_GFX_H */