Move the clock_gettime2 and add_time_in_ms definitions to event.h.

This commit is contained in:
Reece H. Dunn
2016-02-07 18:38:13 +00:00
parent ca831d236a
commit bb465a45d8
5 changed files with 5 additions and 7 deletions
-1
View File
@@ -36,7 +36,6 @@
#include "speech.h"
#include "event.h"
#include "wave.h"
// my_mutex: protects my_thread_is_talking,
static pthread_mutex_t my_mutex;
+4
View File
@@ -61,6 +61,10 @@ espeak_ng_STATUS event_declare(espeak_EVENT *event);
// Last function to be called.
void event_terminate();
// general functions
void clock_gettime2(struct timespec *ts);
void add_time_in_ms(struct timespec *ts, int time_in_ms);
#ifdef __cplusplus
}
#endif
+1 -1
View File
@@ -37,7 +37,7 @@
#include "speech.h"
#include "espeak_command.h"
#include "fifo.h"
#include "wave.h"
#include "event.h"
// my_mutex: protects my_thread_is_talking,
// my_stop_is_required, and the command fifo
-1
View File
@@ -37,7 +37,6 @@
#include "synthesize.h"
#include "voice.h"
#include "translate.h"
#include "wave.h"
const char *version_string = "1.48.15 16.Apr.15";
const int version_phdata = 0x014801;
-4
View File
@@ -31,10 +31,6 @@ extern int wave_close(void *theHandler);
extern void wave_flush(void *theHandler);
extern void wave_terminate();
// general functions
extern void clock_gettime2(struct timespec *ts);
extern void add_time_in_ms(struct timespec *ts, int time_in_ms);
#ifdef __cplusplus
}
#endif