summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
-rw-r--r--src/time.c25
2 files changed, 26 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index c5e0cbe..28bfc5f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,3 +1,3 @@
-DIR_SOURCES := base64.c
+DIR_SOURCES := base64.c time.c
include $(NSBUILD)/Makefile.subdir
diff --git a/src/time.c b/src/time.c
new file mode 100644
index 0000000..c0a5dff
--- /dev/null
+++ b/src/time.c
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2014 Vincent Sanders <vince@netsurf-browser.org>
+ *
+ * This file is part of libnsutils.
+ *
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ */
+
+/**
+ * \file
+ * Time operation implementation
+ */
+
+#include <stdint.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <string.h>
+
+#include "nsutils/time.h"
+
+nserror nsu_nsu_getmonotonic_ms(uint64_t *current)
+{
+ return NSERROR_NOT_IMPLEMENTED;
+}