diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-25 10:06:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-25 10:06:40 +0400 |
commit | ee6aaafd31f81c6b493c7f6b83ca186ce369d104 (patch) | |
tree | 3cf64563302eb5ee148748288ff9539cefd06a1f /source/blender/blenkernel/BKE_report.h | |
parent | d87ca16fb889231c03ad41ea555683d8f8493f7d (diff) |
code cleanup: typos and set gcc attributes for string formatting.
Diffstat (limited to 'source/blender/blenkernel/BKE_report.h')
-rw-r--r-- | source/blender/blenkernel/BKE_report.h | 6 |
1 files changed, 5 insertions, 1 deletions
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); |