-/* Copyright (c) 2010. The SimGrid Team.
+/* Copyright (c) 2010-2011, 2013-2014. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
#include <pthread.h>
-void main(void)
+int main(void)
{
pthread_mutex_t s;
const struct timespec t;
sem_timedlock(&s, &t);
+ return 0;
}