diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-07-13 22:08:04 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-07-13 22:08:04 +0200 |
commit | 61b283f2e9a8343267ffd0280bacc1369075b763 (patch) | |
tree | f94f98204136ee213c7b9c3d7d6589f48040d3bc /weechat/debug.h | |
parent | 84d31554ecf6840905e18aef33ef7a195174f800 (diff) |
weechat: Proper namespacing of symbols
Symbol clash in dynamic libraries is a thing.
Diffstat (limited to 'weechat/debug.h')
-rw-r--r-- | weechat/debug.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/weechat/debug.h b/weechat/debug.h index 95117a9..d552010 100644 --- a/weechat/debug.h +++ b/weechat/debug.h @@ -1,8 +1,12 @@ #pragma once -void debug_init(void); +#define debug_init tomsg__debug_init +#define debug_deinit tomsg__debug_deinit +#define debugf tomsg__debugf + +void debug_init(void); void debug_deinit(void); __attribute__((format (printf, 1, 2))) |