From 2a74440547ea0a15195224fa2b7784b267cbfe15 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 19 Jul 2012 17:29:34 -0300 Subject: qerror: reduce public exposure qerror will be dropped in a near future, let's reduce its public exposure by making functions only used in qerror.c static. Signed-off-by: Luiz Capitulino Reviewed-by: Markus Armbruster --- qerror.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'qerror.h') diff --git a/qerror.h b/qerror.h index b4c8758..fe8870c 100644 --- a/qerror.h +++ b/qerror.h @@ -33,11 +33,7 @@ typedef struct QError { const QErrorStringTable *entry; } QError; -QError *qerror_new(void); -QError *qerror_from_info(const char *file, int linenr, const char *func, - const char *fmt, va_list *va) GCC_FMT_ATTR(4, 0); QString *qerror_human(const QError *qerror); -void qerror_print(QError *qerror); void qerror_report_internal(const char *file, int linenr, const char *func, const char *fmt, ...) GCC_FMT_ATTR(4, 5); void qerror_report_err(Error *err); @@ -45,7 +41,6 @@ void assert_no_error(Error *err); QString *qerror_format(const char *fmt, QDict *error); #define qerror_report(fmt, ...) \ qerror_report_internal(__FILE__, __LINE__, __func__, fmt, ## __VA_ARGS__) -QError *qobject_to_qerror(const QObject *obj); /* * QError class list -- cgit v1.1