* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA
*
- * $Id: rb_snprintf.h 24324 2007-08-31 22:05:45Z androsyn $
*/
#ifndef RB_LIB_H
-# error "Do not use snprintf.h directly"
+# error "Do not use snprintf.h directly"
#endif
#ifndef SPRINTF_IRC
* rb_sprintf - optimized sprintf
*/
#ifdef __GNUC__
-int rb_sprintf(char *str, const char *fmt, ...) __attribute((format(printf, 2, 3)));
-int rb_snprintf(char *str, const size_t size, const char *, ...) __attribute__ ((format(printf, 3, 4)));
-int rb_sprintf_append(char *str, const char *format, ...) __attribute((format(printf, 2, 3)));
-int rb_snprintf_append(char *str, size_t len, const char *format, ...) __attribute__ ((format(printf, 3, 4)));
+int
+rb_sprintf(char *str, const char *fmt, ...)
+__attribute((format(printf, 2, 3)));
+ int rb_snprintf(char *str, const size_t size, const char *, ...)
+ __attribute__ ((format(printf, 3, 4)));
+ int rb_sprintf_append(char *str, const char *format, ...) __attribute((format(printf, 2, 3)));
+ int rb_snprintf_append(char *str, size_t len, const char *format, ...)
+ __attribute__ ((format(printf, 3, 4)));
#else
int rb_sprintf(char *str, const char *format, ...);
int rb_snprintf(char *str, const size_t size, const char *, ...);