mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Protoized old pre-ANSI K&R style declarations and definitions
This commit is contained in:
parent
99644514db
commit
0bbab1e515
10 changed files with 22 additions and 20 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue