From 0bbab1e5151c3396ebe544d09cad997cd9cb5e3b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 7 May 2021 00:04:36 +0900 Subject: Protoized old pre-ANSI K&R style declarations and definitions --- vsnprintf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vsnprintf.c') 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; -- cgit v1.2.3