From ee6aaafd31f81c6b493c7f6b83ca186ce369d104 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 25 Apr 2012 06:06:40 +0000 Subject: code cleanup: typos and set gcc attributes for string formatting. --- source/blender/blenkernel/BKE_report.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/blender/blenkernel/BKE_report.h') diff --git a/source/blender/blenkernel/BKE_report.h b/source/blender/blenkernel/BKE_report.h index f6307806491..aa625fab3b2 100644 --- a/source/blender/blenkernel/BKE_report.h +++ b/source/blender/blenkernel/BKE_report.h @@ -54,7 +54,11 @@ __attribute__ ((format (printf, 3, 4))) ; void BKE_reports_prepend(ReportList *reports, const char *prepend); -void BKE_reports_prependf(ReportList *reports, const char *prepend, ...); +void BKE_reports_prependf(ReportList *reports, const char *prepend, ...) +#ifdef __GNUC__ +__attribute__ ((format (printf, 2, 3))) +#endif +; ReportType BKE_report_print_level(ReportList *reports); void BKE_report_print_level_set(ReportList *reports, ReportType level); -- cgit v1.2.3