diff options
-rw-r--r-- | xts5/include/Xstlib.h | 1 | ||||
-rw-r--r-- | xts5/src/libproto/Utils.c | 20 |
2 files changed, 0 insertions, 21 deletions
diff --git a/xts5/include/Xstlib.h b/xts5/include/Xstlib.h index 0d0c2903..ad7c4b6d 100644 --- a/xts5/include/Xstlib.h +++ b/xts5/include/Xstlib.h @@ -406,7 +406,6 @@ Window Create_Window(); void XstExit(); void Exit_OK(); xReply *Expect(); -char *Get_Date(); int Get_Timer(); XID Get_Resource_Id(); int Log_Close(); diff --git a/xts5/src/libproto/Utils.c b/xts5/src/libproto/Utils.c index 17d721df..264b6146 100644 --- a/xts5/src/libproto/Utils.c +++ b/xts5/src/libproto/Utils.c @@ -142,23 +142,3 @@ SOFTWARE. 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); -} - |