summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-26 17:25:20 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-26 17:25:20 +0000
commit5470716c0d36351175407aa833c86495195569b8 (patch)
tree14c22d497853cb682263d7d10fb59a1a8859c87f
parent33e92ff899ca76809d8e826bd885a746264fa4e8 (diff)
downloadlibnsutils-5470716c0d36351175407aa833c86495195569b8.tar.gz
libnsutils-5470716c0d36351175407aa833c86495195569b8.tar.bz2
fix monotonic timer API naming
-rw-r--r--include/nsutils/time.h2
-rw-r--r--src/time.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/nsutils/time.h b/include/nsutils/time.h
index bfc9490..93a4c1d 100644
--- a/include/nsutils/time.h
+++ b/include/nsutils/time.h
@@ -26,6 +26,6 @@
* \param current The current value of the counter.
* \return NSERROR_OK on success else error code.
*/
-nsuerror nsu_nsu_getmonotonic_ms(uint64_t *current);
+nsuerror nsu_getmonotonic_ms(uint64_t *current);
#endif
diff --git a/src/time.c b/src/time.c
index 2b83f3f..b29c2eb 100644
--- a/src/time.c
+++ b/src/time.c
@@ -19,7 +19,7 @@
#include "nsutils/time.h"
/* exported interface documented in nsutils/time.h */
-nsuerror nsu_nsu_getmonotonic_ms(uint64_t *current)
+nsuerror nsu_getmonotonic_ms(uint64_t *current)
{
/** \todo Implement this properly! */
struct timeval tv;