Don't export private symbols.

* include/glibtop/error.h: Don't export private symbols.
This commit is contained in:
Benoît Dejean
2005-02-15 10:14:59 +00:00
parent 1ac8744251
commit 0fdfd65a2a
2 changed files with 21 additions and 12 deletions

View File

@@ -1,3 +1,7 @@
2005-02-15 Benoît Dejean <TazForEver@dlfp.org>
* include/glibtop/error.h: Don't export private symbols.
2005-02-15 Benoît Dejean <TazForEver@dlfp.org> 2005-02-15 Benoît Dejean <TazForEver@dlfp.org>
* include/glibtop/error.h: G_GNUC_NORETURN love. * include/glibtop/error.h: G_GNUC_NORETURN love.

View File

@@ -21,6 +21,11 @@
Boston, MA 02111-1307, USA. Boston, MA 02111-1307, USA.
*/ */
/*
* This is private API
*/
#ifndef __GLIBTOP_ERROR_H__ #ifndef __GLIBTOP_ERROR_H__
#define __GLIBTOP_ERROR_H__ #define __GLIBTOP_ERROR_H__
@@ -28,20 +33,20 @@
G_BEGIN_DECLS G_BEGIN_DECLS
void glibtop_error_vr (glibtop *server, const char *format, va_list args) G_GNUC_NORETURN; void glibtop_error_vr (glibtop *server, const char *format, va_list args) G_GNUC_INTERNAL G_GNUC_NORETURN;
void glibtop_warn_vr (glibtop *server, const char *format, va_list args); void glibtop_warn_vr (glibtop *server, const char *format, va_list args) G_GNUC_INTERNAL;
void glibtop_error_io_vr (glibtop *server, const char *format, int, va_list args) G_GNUC_NORETURN; void glibtop_error_io_vr (glibtop *server, const char *format, int, va_list args) G_GNUC_INTERNAL G_GNUC_NORETURN;
void glibtop_warn_io_vr (glibtop *server, const char *format, int, va_list args); void glibtop_warn_io_vr (glibtop *server, const char *format, int, va_list args) G_GNUC_INTERNAL;
void glibtop_error_r (glibtop *server, const char *format, ...) G_GNUC_PRINTF(2, 3) G_GNUC_NORETURN; void glibtop_error_r (glibtop *server, const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(2, 3) G_GNUC_NORETURN;
void glibtop_warn_r (glibtop *server, const char *format, ...) G_GNUC_PRINTF(2, 3); void glibtop_warn_r (glibtop *server, const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(2, 3);
void glibtop_error_io_r (glibtop *server, const char *format, ...) G_GNUC_PRINTF(2, 3) G_GNUC_NORETURN; void glibtop_error_io_r (glibtop *server, const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(2, 3) G_GNUC_NORETURN;
void glibtop_warn_io_r (glibtop *server, const char *format, ...) G_GNUC_PRINTF(2, 3); void glibtop_warn_io_r (glibtop *server, const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(2, 3);
void glibtop_error (const char *format, ...) G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN; void glibtop_error (const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN;
void glibtop_warn (const char *format, ...) G_GNUC_PRINTF(1, 2); void glibtop_warn (const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(1, 2);
void glibtop_error_io (const char *format, ...) G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN; void glibtop_error_io (const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(1, 2) G_GNUC_NORETURN;
void glibtop_warn_io (const char *format, ...) G_GNUC_PRINTF(1, 2); void glibtop_warn_io (const char *format, ...) G_GNUC_INTERNAL G_GNUC_PRINTF(1, 2);
G_END_DECLS G_END_DECLS