summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-10-13 07:25:44 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-10-13 07:25:44 +0000
commit75294e108e846518c75fa836c5f99208415856ce (patch)
treef7cd4f4182a42f1a3c16e8f548188ecd7cf9c7fc /rsc
parente3ffcd52465b5258f6b6a642784c7a70b88fa630 (diff)
INTEGRATION: CWS vcl27 (1.8.24); FILE MERGED
2004/09/13 11:09:19 dv 1.8.24.2: #i33565 removed syntax error for windows 2004/09/02 16:30:54 pl 1.8.24.1: #i33565# recognize and ignore UTF-8 BOM
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/rscpp/cpp3.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c
index 504dbee61f99..e90cfca025ba 100644
--- a/rsc/source/rscpp/cpp3.c
+++ b/rsc/source/rscpp/cpp3.c
@@ -2,9 +2,9 @@
*
* $RCSfile: cpp3.c,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: kz $ $Date: 2004-05-18 10:42:18 $
+ * last change: $Author: hr $ $Date: 2004-10-13 08:25:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -111,7 +111,7 @@ char *filename;
return (TRUE);
}
-addfile(fp, filename)
+void addfile(fp, filename)
FILE *fp; /* Open file pointer */
char *filename; /* Name of the file */
/*
@@ -133,7 +133,7 @@ char *filename; /* Name of the file */
wrongline = TRUE; /* Force out initial #line */
}
-setincdirs()
+void setincdirs()
/*
* Append system-specific directories to the include directory list.
* Called only when cpp is started.
@@ -322,7 +322,7 @@ char *argv[];
case 'S':
sizp = size_table;
- if (isdatum = (*ap != '*')) /* If it's just -S, */
+ if ((isdatum = (*ap != '*'))) /* If it's just -S, */
endtest = T_FPTR; /* Stop here */
else { /* But if it's -S* */
ap++; /* Step over '*' */
@@ -411,7 +411,7 @@ readoptions(char* filename, char*** pfargv)
int c;
int bInQuotes = 0;
char optbuff[1024], *poptbuff;
- int fargc=0, i, back;
+ int fargc=0, back;
char *fargv[PARALIMIT], **pfa;
pfa=*pfargv=malloc(sizeof(fargv));
@@ -469,7 +469,7 @@ readoptions(char* filename, char*** pfargv)
#if HOST != SYS_UNIX
-FILE_LOCAL
+FILE_LOCAL void
zap_uc(ap)
register char *ap;
/*
@@ -489,7 +489,7 @@ register char *ap;
}
#endif
-initdefines()
+void initdefines()
/*
* Initialize the built-in #define's. There are two flavors:
* #define decus 1 (static definitions)