=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/indent/indent_globs.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/indent/indent_globs.h 2015/08/20 22:32:41 1.13 +++ src/usr.bin/indent/indent_globs.h 2015/09/27 17:00:46 1.14 @@ -1,4 +1,4 @@ -/* $OpenBSD: indent_globs.h,v 1.13 2015/08/20 22:32:41 deraadt Exp $ */ +/* $OpenBSD: indent_globs.h,v 1.14 2015/09/27 17:00:46 guenther Exp $ */ /* * Copyright (c) 1985 Sun Microsystems, Inc. * Copyright (c) 1980, 1993 @@ -323,7 +323,7 @@ int compute_code_target(void); int compute_label_target(void); int count_spaces(int, char *); -void diag(int, char *, ...); +void diag(int, const char *, ...) __attribute__((__format__ (printf, 2, 3))); void dump_line(void); int eqin(char *, char *); void fill_buffer(void);