summaryrefslogtreecommitdiff
path: root/tests/test_timeo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_timeo.cpp')
-rw-r--r--tests/test_timeo.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/test_timeo.cpp b/tests/test_timeo.cpp
index 79b4d39..29ed634 100644
--- a/tests/test_timeo.cpp
+++ b/tests/test_timeo.cpp
@@ -18,13 +18,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <assert.h>
-#include <string.h>
-#include <pthread.h>
-#include <stdio.h>
+#include "testutil.hpp"
-#include "../include/xs.h"
-#include "../include/xs_utils.h"
+#include <pthread.h>
extern "C"
{
@@ -44,7 +40,7 @@ extern "C"
}
}
-int main (int argc, char *argv [])
+int XS_TEST_MAIN ()
{
fprintf (stderr, "test_timeo running...\n");