Move count_words() to wordlist.c

This commit is contained in:
jsteube
2016-09-12 12:59:40 +02:00
parent 2678592484
commit 533a87b685
5 changed files with 297 additions and 250 deletions
+19
View File
@@ -6,6 +6,8 @@
#ifndef _THREAD_H
#define _THREAD_H
#include <signal.h>
#if defined (_POSIX)
#include <pthread.h>
#include <semaphore.h>
@@ -46,4 +48,21 @@ typedef pthread_mutex_t hc_thread_mutex_t;
#endif
#if defined (_WIN)
BOOL WINAPI sigHandler_default (DWORD sig);
BOOL WINAPI sigHandler_benchmark (DWORD sig);
void hc_signal (BOOL WINAPI (callback) (DWORD));
#else
void sigHandler_default (int sig);
void sigHandler_benchmark (int sig);
void hc_signal (void (callback) (int));
#endif
void myabort ();
void myquit ();
#endif // _THREAD_H