X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2271a2161d7c3ebb81da26f877754f4b726a76bf..f9754b35f2f3b4c5cb0890f154181d2bab66c679:/sbr/dtime.c diff --git a/sbr/dtime.c b/sbr/dtime.c index 5e0fdc0a..3f8f7631 100644 --- a/sbr/dtime.c +++ b/sbr/dtime.c @@ -5,10 +5,10 @@ * complete copyright information. */ -#include /* for snprintf() */ -#include -#include -#include +#include "h/mh.h" +#include "h/nmh.h" +#include "h/utils.h" +#include "h/tws.h" #include #if !defined(HAVE_STRUCT_TM_TM_GMTOFF) @@ -285,7 +285,8 @@ dasctime (struct tws *tw, int flags) * return the string representation of the numeric offset. */ -char *dtimezone(int offset, int flags) +char * +dtimezone(int offset, int flags) { static char buffer[sizeof "+3579139459"]; /* 2,147,483,648 / 60 = 35,791,394 */ bool pos;