summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-19 10:36:35 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-19 10:36:35 +0100
commit4f38963337cfa6170249898d11d45b329b2c186d (patch)
tree19059849ef8e3ffe694e734ee183bd0e30fe656f /utils
parent836ea5679e5a817e0c6a2654d5a29a053a602593 (diff)
downloadnetsurf-4f38963337cfa6170249898d11d45b329b2c186d.tar.gz
netsurf-4f38963337cfa6170249898d11d45b329b2c186d.tar.bz2
move time function to apropriate header
Diffstat (limited to 'utils')
-rw-r--r--utils/time.h8
-rw-r--r--utils/utils.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/utils/time.h b/utils/time.h
index a99cdc24a..24a39886d 100644
--- a/utils/time.h
+++ b/utils/time.h
@@ -72,4 +72,12 @@ nserror nsc_snptimet(const char *str, size_t size, time_t *timep);
*/
nserror nsc_strntimet(const char *str, size_t size, time_t *timep);
+/**
+ * Create an RFC 1123 compliant date string from a Unix timestamp
+ *
+ * \param t The timestamp to consider
+ * \return Pointer to buffer containing string - invalidated by next call.
+ */
+const char *rfc1123_date(time_t t);
+
#endif
diff --git a/utils/utils.h b/utils/utils.h
index 39a7254b0..ce3158de1 100644
--- a/utils/utils.h
+++ b/utils/utils.h
@@ -177,14 +177,6 @@ nserror regcomp_wrapper(regex_t *preg, const char *regex, int cflags);
char *human_friendly_bytesize(unsigned long bytesize);
/**
- * Create an RFC 1123 compliant date string from a Unix timestamp
- *
- * \param t The timestamp to consider
- * \return Pointer to buffer containing string - invalidated by next call.
- */
-const char *rfc1123_date(time_t t);
-
-/**
* Returns a number of centiseconds, that increases in real time, for the
* purposes of measuring how long something takes in wall-clock terms.
*