aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/Clock.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-15 09:38:12 +0200
committerMax Kellermann <max@duempel.org>2013-10-15 09:38:12 +0200
commit0c13703da3641951bf061cac7c5cef034eda16f9 (patch)
tree53af5b78031142e475a683d7bbc6c580b1d0e297 /src/system/Clock.hxx
parentb97b7a7493c0535cd21d05189c1a5b7cdd0accb2 (diff)
downloadmpd-0c13703da3641951bf061cac7c5cef034eda16f9.tar.gz
mpd-0c13703da3641951bf061cac7c5cef034eda16f9.tar.xz
mpd-0c13703da3641951bf061cac7c5cef034eda16f9.zip
system/clock: convert to C++
Diffstat (limited to '')
-rw-r--r--src/system/Clock.hxx (renamed from src/system/clock.h)14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/system/clock.h b/src/system/Clock.hxx
index ae774ff85..7be1127bf 100644
--- a/src/system/clock.h
+++ b/src/system/Clock.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2012 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -24,26 +24,18 @@
#include <stdint.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Returns the value of a monotonic clock in milliseconds.
*/
gcc_pure
unsigned
-monotonic_clock_ms(void);
+MonotonicClockMS();
/**
* Returns the value of a monotonic clock in microseconds.
*/
gcc_pure
uint64_t
-monotonic_clock_us(void);
-
-#ifdef __cplusplus
-}
-#endif
+MonotonicClockUS();
#endif