diff options
Diffstat (limited to 'xts5/src/libproto/Utils.c')
-rw-r--r-- | xts5/src/libproto/Utils.c | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/xts5/src/libproto/Utils.c b/xts5/src/libproto/Utils.c index af2ffb1b..fac4f1eb 100644 --- a/xts5/src/libproto/Utils.c +++ b/xts5/src/libproto/Utils.c @@ -144,26 +144,6 @@ char * asctime(); /* - * Return a character string with the current date and time. - */ - -char * -Get_Date() -{ - struct tm *tp; - struct tm *localtime(); - time_t tim; - static char buf[26]; - - tim = time(0); - tp = localtime(&tim); - (void) strcpy(buf, asctime(tp)); - buf[24] = '\0'; - return(buf); -} - - -/* * These are routines found in BSD and not found in SYSV. */ @@ -184,4 +164,4 @@ register length; *b2++ = *b1++; } } -} +}
\ No newline at end of file |