X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=time.c;h=0ad974bcac6c8fdf31363e2ad95e4c270e4a5d97;hp=b54e34c565f7be55b6370f468bc8e4c811809f70;hb=2be48c0ac582aca639003528eeae2250af42471b;hpb=222b3355ee441ab4a310ef2830181ffd4300223b diff --git a/time.c b/time.c index b54e34c..0ad974b 100644 --- a/time.c +++ b/time.c @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2005-2009 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; }