BSD 4 release
[unix-history] / usr / src / libc / stdio / data.c
index 56141c4..85c559e 100644 (file)
@@ -2,12 +2,12 @@
 char   _sibuf[BUFSIZ];
 char   _sobuf[BUFSIZ];
 
 char   _sibuf[BUFSIZ];
 char   _sobuf[BUFSIZ];
 
-struct _iobuf  _iob[_NFILE] = {
-       { _sibuf, 0, _sibuf, _IOREAD, 0},
-       { NULL, 0, NULL, _IOWRT, 1},
-       {NULL, 0, NULL, _IOWRT+_IONBF, 2},
+struct _iobuf  _iob[_NFILE] ={
+       { 0, _sibuf, _sibuf, _IOREAD, 0},
+       { 0, NULL, NULL, _IOWRT, 1},
+       { 0, NULL, NULL, _IOWRT+_IONBF, 2},
 };
 /*
  * Ptr to end of buffers
  */
 };
 /*
  * Ptr to end of buffers
  */
-struct _iobuf  *_lastbuf = { &_iob[_NFILE] };
+struct _iobuf  *_lastbuf ={ &_iob[_NFILE] };