projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove extern "C" from internal headers
[lttng-tools.git]
/
src
/
common
/
time.h
diff --git
a/src/common/time.h
b/src/common/time.h
index dc3f7634223ed8c79810c7f3c98cd117864a8f27..87adf17d75d40af2945ef392bb45129bb777d11b 100644
(file)
--- a/
src/common/time.h
+++ b/
src/common/time.h
@@
-13,10
+13,6
@@
#include <common/macros.h>
#include <common/compat/time.h>
#include <common/macros.h>
#include <common/compat/time.h>
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
#define MSEC_PER_SEC 1000ULL
#define NSEC_PER_SEC 1000000000ULL
#define NSEC_PER_MSEC 1000000ULL
#define MSEC_PER_SEC 1000ULL
#define NSEC_PER_SEC 1000000000ULL
#define NSEC_PER_MSEC 1000000ULL
@@
-66,8
+62,4
@@
int time_to_iso8601_str(time_t time, char *str, size_t len);
int time_to_datetime_str(time_t time, char *str, size_t len);
int time_to_datetime_str(time_t time, char *str, size_t len);
-#if defined(__cplusplus)
-}
-#endif
-
#endif /* LTTNG_TIME_H */
#endif /* LTTNG_TIME_H */
This page took
0.024579 seconds
and
4
git commands to generate.