summaryrefslogtreecommitdiff
path: root/pith/adjtime.h
diff options
context:
space:
mode:
authorEduardo Chappa <echappa@gmx.com>2013-02-03 00:59:38 -0700
committerEduardo Chappa <echappa@gmx.com>2013-02-03 00:59:38 -0700
commit094ca96844842928810f14844413109fc6cdd890 (patch)
treee60efbb980f38ba9308ccb4fb2b77b87bbc115f3 /pith/adjtime.h
downloadalpine-094ca96844842928810f14844413109fc6cdd890.tar.xz
Initial Alpine Version
Diffstat (limited to 'pith/adjtime.h')
-rw-r--r--pith/adjtime.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/pith/adjtime.h b/pith/adjtime.h
new file mode 100644
index 00000000..355b1020
--- /dev/null
+++ b/pith/adjtime.h
@@ -0,0 +1,35 @@
+/*
+ * $Id: adjtime.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
+ *
+ * ========================================================================
+ * Copyright 2006 University of Washington
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * ========================================================================
+ */
+
+#ifndef PITH_TIME_INCLUDED
+#define PITH_TIME_INCLUDED
+
+
+/*
+ * This is just like a struct timeval. We need it for portability to systems
+ * that don't have a struct timeval.
+ */
+typedef struct our_time_val {
+ long sec;
+ long usec;
+} TIMEVAL_S;
+
+
+/* exported protoypes */
+time_t get_adj_time(void);
+time_t get_adj_name_file_mtime(char *);
+
+
+#endif /* PITH_TIME_INCLUDED */