diff options
Diffstat (limited to 'build/rpmspec.h')
-rw-r--r-- | build/rpmspec.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/build/rpmspec.h b/build/rpmspec.h index fb7e4a811..208c3a897 100644 --- a/build/rpmspec.h +++ b/build/rpmspec.h @@ -37,19 +37,19 @@ struct Source { /*@owned@*/ struct Source *next; }; -struct ReadLevelEntry { +typedef struct ReadLevelEntry { int reading; /*@dependent@*/ struct ReadLevelEntry *next; -}; +} RLE_t; -struct OpenFileInfo { +typedef struct OpenFileInfo { /*@only@*/ char *fileName; /*@dependent@*/ FILE *file; int lineNum; char readBuf[BUFSIZ]; /*@dependent@*/ char *readPtr; /*@owned@*/ struct OpenFileInfo *next; -}; +} OFI_t; struct spectag { int t_tag; @@ -80,7 +80,9 @@ struct SpecStruct { struct spectags *st; /*@owned@*/ struct OpenFileInfo *fileStack; - char line[BUFSIZ]; + char lbuf[BUFSIZ]; + char *line; + char *nextline; int lineNum; /*@only@*/ struct ReadLevelEntry *readStack; |