X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=time.c;h=3cc1ad64ac943422b30df8a8532f629cbcc63c2d;hp=b54e34c565f7be55b6370f468bc8e4c811809f70;hb=55c90e8e1d56bc2aec456067cdd1789d09f97d74;hpb=222b3355ee441ab4a310ef2830181ffd4300223b diff --git a/time.c b/time.c index b54e34c..3cc1ad6 100644 --- a/time.c +++ b/time.c @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2005-2010 Andre Noll + * + * Licensed under the GPL v2. For licencing details see COPYING. + */ + +/** \file time.c Helper functions for dealing with time values. */ + #include #include #include @@ -9,14 +17,6 @@ #include "string.h" #include "log.h" -/* - * Copyright (C) 2005-2008 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ - -/** \file time.c Helper functions for dealing with time values. */ - /** * Convert struct timeval to milliseconds. * @@ -141,6 +141,6 @@ int64_t get_current_time(void) { time_t now; time(&now); - DSS_DEBUG_LOG("now: %lli\n", (long long) now); + DSS_DEBUG_LOG("now: %jd\n", (intmax_t)now); return (int64_t)now; }