X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3721210a272c9593a3bccd52f63178403b5729e3..65c756c0c3ce5659e16c2dfff3ad48784edda884:/examples/s4u/actor-lifetime/s4u-actor-lifetime.cpp diff --git a/examples/s4u/actor-lifetime/s4u-actor-lifetime.cpp b/examples/s4u/actor-lifetime/s4u-actor-lifetime.cpp index 19668e4155..a9201ae8af 100644 --- a/examples/s4u/actor-lifetime/s4u-actor-lifetime.cpp +++ b/examples/s4u/actor-lifetime/s4u-actor-lifetime.cpp @@ -11,10 +11,9 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Messages specific for this s4u example"); /* Executed on process termination, to display a message helping to understand the output */ -static int my_onexit(void*, void*) +static void my_onexit(int, void*) { XBT_INFO("Exiting now (done sleeping or got killed)."); - return 0; } /* Just sleep until termination */