Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit 175e09b

Browse files
authored
Fix
1 parent cb4b2be commit 175e09b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

kernel/core/timer.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#ifndef TIMER_H
22
#define TIMER_H
3+
#ifdef _cplusplus
4+
extern "C" {
5+
#endif
36

47
#include "util.h"
58

@@ -9,4 +12,7 @@
912
u64 timer_get();
1013
void timer_init();
1114

15+
#ifdef __cplusplus
16+
}
17+
#endif
1218
#endif

0 commit comments

Comments
 (0)