diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2012-02-09 19:11:53 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-02-10 09:30:41 +0100 |
commit | 55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb (patch) | |
tree | 57b4c8a136f98d6f5beb7270a38299b45c1f03ab /sigrokdecode-internal.h | |
parent | c9bfccc6347e05e6faba6f27fe0e50a7d55f531c (diff) | |
download | libsigrokdecode-55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb.tar.gz libsigrokdecode-55c3c5f4b9d38b85fae2c39a8a6150b4c50b1bdb.zip |
srd: Add/use SRD_API/SRD_PRIV macros.
This is not yet finished, more things should be made private.
Diffstat (limited to 'sigrokdecode-internal.h')
-rw-r--r-- | sigrokdecode-internal.h | 13 |
1 files changed, 7 insertions, 6 deletions
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 <stdarg.h> // #include <glib.h> @@ -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 |