home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: sparky!uunet!cis.ohio-state.edu!nsrl31.nsrl.rochester.edu!roberts
- From: roberts@nsrl31.nsrl.rochester.edu (Roland B Roberts)
- Subject: gcc 2.2, VMS stdio.h missing fpos_t typedef
- Message-ID: <00963E80.2B519020.19970@nsrl31.nsrl.rochester.edu>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Fri, 20 Nov 1992 22:17:50 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 28
-
- The following is a patch for the VMS <stdio.h> which is missing the
- typedef for fpos_t.
-
- Ideally, shouldn't the header have ANSI prototypes as well? If this is
- desireable, I can work on it.
-
- roland
-
- % diff -c stdio.h;-1 stdio.h
- *** stdio.h;-1
- --- stdio.h
- **************
- *** 39,44
- * passes around pointers to pointers.
- */
- typedef struct _iobuf *FILE;
-
- /*
- * Also, stdin/stdout/stderr need to be defined
- --- 39,45 -----
- * passes around pointers to pointers.
- */
- typedef struct _iobuf *FILE;
- + typedef struct {unsigned : 32; unsigned : 32;} fpos_t;
-
- /*
- * Also, stdin/stdout/stderr need to be defined
-
-