diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-02 15:02:11 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-02 15:02:11 +0000 |
commit | ac8cfd7b930d57b6526415a8e67204d207022bda (patch) | |
tree | 1f3a0a32860aade97bf67308cd65851967143f88 /Build/source/texk/seetexk | |
parent | bcaa6454cc914b0d28284675818f73b908e9adea (diff) |
avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13581 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/seetexk')
-rw-r--r-- | Build/source/texk/seetexk/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/seetexk/tempfile.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/seetexk/ChangeLog b/Build/source/texk/seetexk/ChangeLog index 17823312fab..1d8007ff6d6 100644 --- a/Build/source/texk/seetexk/ChangeLog +++ b/Build/source/texk/seetexk/ChangeLog @@ -1,3 +1,8 @@ +2009-06-02 Peter Breitenlohner <peb@mppmu.mpg.de> + + * tempfile.c: define __cdecl only when used, to avoid warnings + on cygwin. + 2009-05-27 Peter Breitenlohner <peb@mppmu.mpg.de> Adapt to TL2009 build system. diff --git a/Build/source/texk/seetexk/tempfile.c b/Build/source/texk/seetexk/tempfile.c index c47fffa519f..8d55c8bab52 100644 --- a/Build/source/texk/seetexk/tempfile.c +++ b/Build/source/texk/seetexk/tempfile.c @@ -43,11 +43,10 @@ char *getenv(); #define TMP_OPEN_MODE 2 #endif +#ifdef DOSISH #ifndef WIN32 #define __cdecl #endif - -#ifdef DOSISH static char *TmpFile; static void __cdecl RemoveTempFile(void) |