Fix VC++ compiler error with redifinition return type
include/thr_alarm.h: Fix VC++ compiler error with redefinition return type
This commit is contained in:
parent
e515e4dc46
commit
e9183c74f2
@ -100,7 +100,7 @@ typedef struct st_alarm {
|
|||||||
#define thr_alarm_init(A) (*(A))=0
|
#define thr_alarm_init(A) (*(A))=0
|
||||||
#define thr_alarm_in_use(A) (*(A)!= 0)
|
#define thr_alarm_in_use(A) (*(A)!= 0)
|
||||||
void init_thr_alarm(uint max_alarm);
|
void init_thr_alarm(uint max_alarm);
|
||||||
bool thr_alarm(thr_alarm_t *alarmed, uint sec, ALARM *buff);
|
my_bool thr_alarm(thr_alarm_t *alarmed, uint sec, ALARM *buff);
|
||||||
void thr_alarm_kill(pthread_t thread_id);
|
void thr_alarm_kill(pthread_t thread_id);
|
||||||
void thr_end_alarm(thr_alarm_t *alarmed);
|
void thr_end_alarm(thr_alarm_t *alarmed);
|
||||||
void end_thr_alarm(my_bool free_structures);
|
void end_thr_alarm(my_bool free_structures);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user