mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: Replace G_BEGIN_DECLS with SYSPROF_BEGIN_DECLS
It does the same job, but doesn’t require GLib. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #40
This commit is contained in:
@ -60,9 +60,10 @@
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "sysprof-macros.h"
|
||||
#include "sysprof-version-macros.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
SYSPROF_BEGIN_DECLS
|
||||
|
||||
typedef int SysprofClock;
|
||||
typedef int64_t SysprofTimeStamp;
|
||||
@ -95,4 +96,4 @@ sysprof_clock_get_relative_time (SysprofTimeStamp epoch)
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_clock_init (void);
|
||||
|
||||
G_END_DECLS
|
||||
SYSPROF_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user