From 55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 9 Feb 2012 19:11:53 +0100 Subject: srd: Add/use SRD_API/SRD_PRIV macros. This is not yet finished, more things should be made private. --- sigrokdecode-internal.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'sigrokdecode-internal.h') diff --git a/sigrokdecode-internal.h b/sigrokdecode-internal.h index 5ff080b..86a77e4 100644 --- a/sigrokdecode-internal.h +++ b/sigrokdecode-internal.h @@ -21,6 +21,7 @@ #ifndef LIBSIGROKDECODE_SIGROKDECODE_INTERNAL_H #define LIBSIGROKDECODE_SIGROKDECODE_INTERNAL_H +#include "sigrokdecode.h" // #include // #include @@ -36,11 +37,11 @@ /*--- log.c -----------------------------------------------------------------*/ -int srd_log(int loglevel, const char *format, ...); -int srd_spew(const char *format, ...); -int srd_dbg(const char *format, ...); -int srd_info(const char *format, ...); -int srd_warn(const char *format, ...); -int srd_err(const char *format, ...); +SRD_PRIV int srd_log(int loglevel, const char *format, ...); +SRD_PRIV int srd_spew(const char *format, ...); +SRD_PRIV int srd_dbg(const char *format, ...); +SRD_PRIV int srd_info(const char *format, ...); +SRD_PRIV int srd_warn(const char *format, ...); +SRD_PRIV int srd_err(const char *format, ...); #endif -- cgit v1.2.3-70-g09d2