summaryrefslogtreecommitdiff
path: root/src/prog-fprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/prog-fprintf.h')
-rw-r--r--src/prog-fprintf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/prog-fprintf.h b/src/prog-fprintf.h
index d5c3d425a..98029ab9c 100644
--- a/src/prog-fprintf.h
+++ b/src/prog-fprintf.h
@@ -1,5 +1,5 @@
/* prog-fprintf.h - common formating output functions and definitions
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008-2009 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,6 +19,7 @@
# include <stdio.h>
-extern void prog_fprintf (FILE *fp, char const *fmt, ...);
+extern void prog_fprintf (FILE *fp, char const *fmt, ...)
+ __attribute__ ((__format__ (__printf__, 2, 3)));
#endif