summaryrefslogtreecommitdiff
path: root/idlc/source/preproc/cpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/preproc/cpp.c')
-rw-r--r--idlc/source/preproc/cpp.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/idlc/source/preproc/cpp.c b/idlc/source/preproc/cpp.c
index e56ae306ac11..496c1749f562 100644
--- a/idlc/source/preproc/cpp.c
+++ b/idlc/source/preproc/cpp.c
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,7 +32,7 @@
#include <stdarg.h>
#include "cpp.h"
-#define OUTS 16384
+#define OUTS 16384
char outbuf[OUTS];
char *outptr = outbuf;
Source *cursource;
@@ -51,9 +51,9 @@ char* realargv[512];
void checkCommandFile(char* cmdfile)
{
- FILE *commandfile;
- char option[256];
-
+ FILE *commandfile;
+ char option[256];
+
commandfile = fopen(cmdfile+1, "r");
if( commandfile == NULL )
{
@@ -76,8 +76,8 @@ void checkCommandFile(char* cmdfile)
if (c!=13 && c!=10) {
if (found || c!=' ') {
option[i++]=c;
- continue;
- }
+ continue;
+ }
}
if (i==0)
continue;
@@ -101,8 +101,8 @@ void checkCommandFile(char* cmdfile)
realargc++;
}
fclose(commandfile);
- }
-}
+ }
+}
void checkCommandArgs(int argc, char **argv)
{
@@ -119,7 +119,7 @@ void checkCommandArgs(int argc, char **argv)
realargc++;
}
}
-}
+}
void cleanCommandArgs()
{
@@ -129,7 +129,7 @@ void cleanCommandArgs()
{
free(realargv[i]);
}
-}
+}
#ifdef WNT
int __cdecl main(int argc, char **argv)