diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-05-07 00:04:36 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-05-07 00:04:36 +0900 |
commit | 0bbab1e5151c3396ebe544d09cad997cd9cb5e3b (patch) | |
tree | 9ca2db82ab1b42c3902733d640228bb8eeb5f638 /vsnprintf.c | |
parent | 99644514db3768e4fd47d6ff9111091ab1a5a6d2 (diff) |
Protoized old pre-ANSI K&R style declarations and definitions
Diffstat (limited to 'vsnprintf.c')
-rw-r--r-- | vsnprintf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vsnprintf.c b/vsnprintf.c index 90c827f6a0..8bfa0c1656 100644 --- a/vsnprintf.c +++ b/vsnprintf.c @@ -166,6 +166,8 @@ struct __sbuf { * * NB: see WARNING above before changing the layout of this structure! */ +struct __suio; + typedef struct __sFILE { unsigned char *_p; /* current position in (some) buffer */ #if 0 @@ -178,8 +180,8 @@ typedef struct __sFILE { #if 0 size_t _lbfsize; /* 0 or -_bf._size, for inline putc */ #endif - int (*vwrite)(/* struct __sFILE*, struct __suio * */); - const char *(*vextra)(/* struct __sFILE*, size_t, void*, long*, int */); + int (*vwrite)(struct __sFILE*, struct __suio *); + const char *(*vextra)(struct __sFILE*, size_t, void*, long*, int); } FILE; |