From ef92ff6e086f16480ea597385c55077b73671b2b Mon Sep 17 00:00:00 2001 From: David Shaw Date: Thu, 5 May 2005 22:21:34 +0000 Subject: [PATCH] Remove add_days_to_timestamp (unused) --- include/ChangeLog | 4 ++++ include/util.h | 1 - util/ChangeLog | 4 ++++ util/miscutil.c | 7 ------- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index 49b14d115..428105045 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2005-05-05 David Shaw + + * util.h: Remove add_days_to_timestamp as unused. + 2005-04-22 David Shaw * distfiles: Add assuan.h. diff --git a/include/util.h b/include/util.h index c6e89e713..97943afa9 100644 --- a/include/util.h +++ b/include/util.h @@ -149,7 +149,6 @@ int is_file_compressed(const char *s, int *r_status); /*-- miscutil.c --*/ u32 make_timestamp(void); u32 scan_isodatestr( const char *string ); -u32 add_days_to_timestamp( u32 stamp, u16 days ); const char *strtimevalue( u32 stamp ); const char *strtimestamp( u32 stamp ); /* GMT */ const char *isotimestamp( u32 stamp ); /* GMT with hh:mm:ss */ diff --git a/util/ChangeLog b/util/ChangeLog index 647973faf..e16df58ee 100644 --- a/util/ChangeLog +++ b/util/ChangeLog @@ -1,3 +1,7 @@ +2005-05-05 David Shaw + + * miscutil.c (add_days_to_timestamp): Remove as unused. + 2005-04-12 David Shaw * assuan-client.c: Fix warning on OSX. diff --git a/util/miscutil.c b/util/miscutil.c index aa3973b92..8a1a1b126 100644 --- a/util/miscutil.c +++ b/util/miscutil.c @@ -81,13 +81,6 @@ scan_isodatestr( const char *string ) } -u32 -add_days_to_timestamp( u32 stamp, u16 days ) -{ - return stamp + days*86400L; -} - - /**************** * Return a string with a time value in the form: x Y, n D, n H */