]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
don't use empyty structs (non-standard)
authoridgay <idgay>
Thu, 7 Jun 2007 16:57:22 +0000 (16:57 +0000)
committeridgay <idgay>
Thu, 7 Jun 2007 16:57:22 +0000 (16:57 +0000)
tos/lib/timer/Timer.h

index 0cc6d7944ac417658f2609a9383d4a4ec5b50869..932e6d5de6587bd5249f3a2d091c00b05b749b3b 100644 (file)
@@ -26,9 +26,9 @@
 #ifndef TIMER_H
 #define TIMER_H
 
-typedef struct { } TMilli;
-typedef struct { } T32khz;
-typedef struct { } TMicro;
+typedef struct { int notUsed; } TMilli;
+typedef struct { int notUsed; } T32khz;
+typedef struct { int notUsed; } TMicro;
 
 #define UQ_TIMER_MILLI "HilTimerMilliC.Timer"
 #define UQ_TIMER_32KHZ "HilTimer32khzC.Timer"