diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-06-30 13:03:28 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-15 13:14:07 +1000 |
commit | 292a57e5c4b1fb18e100afbfc885d25c274ecf1f (patch) | |
tree | bf473b7022ba3a95cf4e0da3cd1400a958a3e6f5 | |
parent | 45df930fbf1230e5532e576f16d0f3c303b8277a (diff) |
Purge unused Get_Date().
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-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); -} - |