Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[libc] Add missing __attribute__ (( format ( printf ) )) to ssnprintf()
  • Loading branch information
Michael Brown committed Aug 11, 2008
1 parent 8332ddf commit 7ad2f65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/include/gpxe/vsprintf.h
Expand Up @@ -66,6 +66,7 @@ extern size_t vcprintf ( struct printf_context *ctx, const char *fmt,
va_list args );
extern int vssnprintf ( char *buf, ssize_t ssize, const char *fmt,
va_list args );
extern int ssnprintf ( char *buf, ssize_t ssize, const char *fmt, ... );
extern int __attribute__ (( format ( printf, 3, 4 ) ))
ssnprintf ( char *buf, ssize_t ssize, const char *fmt, ... );

#endif /* _GPXE_VSPRINTF_H */

0 comments on commit 7ad2f65

Please sign in to comment.