Changeset 4479497 for fmtext.c


Ignore:
Timestamp:
Mar 24, 2011, 12:46:25 AM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
42ee1be
Parents:
82b734a
git-author:
David Benjamin <davidben@MIT.EDU> (02/26/11 00:52:13)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/24/11 00:46:25)
Message:
Use G_GNUC_PRINTF to get type-checking on our format strings

The extra type-checking is nice.

[andersk@mit.edu: Move G_GNUC_PRINTF such that no further preprocessor
 magic is needed]
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fmtext.c

    rcb6c9e1 r4479497  
    5656
    5757/* Append normal, uncolored text specified by format string to 'f' */
    58 void owl_fmtext_appendf_normal(owl_fmtext *f, const char *fmt, ...)
     58void G_GNUC_PRINTF(2, 3) owl_fmtext_appendf_normal(owl_fmtext *f, const char *fmt, ...)
    5959{
    6060  va_list ap;
Note: See TracChangeset for help on using the changeset viewer.