X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/df6f01f7876ff2b5dc12e3eeee31e963955f3d68..61427a88a76a2c2ef25d0d5b8132995c6f550e5c:/include/xbt/xbt_os_time.h diff --git a/include/xbt/xbt_os_time.h b/include/xbt/xbt_os_time.h index d0a42926b8..e7b2c244c7 100644 --- a/include/xbt/xbt_os_time.h +++ b/include/xbt/xbt_os_time.h @@ -1,22 +1,22 @@ /* xbt/xbt_os_timer.h -- system dependency on time functions */ -/* Copyright (c) 2007, 2009-2010, 2012-2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#ifndef _XBT_OS_TIMER_H -#define _XBT_OS_TIMER_H +#ifndef XBT_OS_TIMER_H +#define XBT_OS_TIMER_H #include /* XBT_PUBLIC */ +#include /* size_t */ SG_BEGIN_DECL() -/** @brief get time in seconds - - * gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970). - */ +/** @brief get time in seconds + * + * gives the number of seconds since the Epoch (00:00:00 UTC, January 1, 1970). + */ XBT_PUBLIC(double) xbt_os_time(void); XBT_PUBLIC(void) xbt_os_sleep(double sec);