diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-17 16:38:00 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-17 16:38:00 +0000 |
commit | ef6828db3f74d9c0ad7e0d9dff1e849a39bf90ff (patch) | |
tree | 2898b7310974bad5608830db80c53322e1fbff53 /Build/source/texk/seetexk/font.h | |
parent | 69b31bc5a79ddff0b4b89009022ab9f3767069a9 (diff) |
enable compiler warnings
use ANSI C functions prototypes
avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13782 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/seetexk/font.h')
-rw-r--r-- | Build/source/texk/seetexk/font.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/seetexk/font.h b/Build/source/texk/seetexk/font.h index 2998bcf50b6..71516478783 100644 --- a/Build/source/texk/seetexk/font.h +++ b/Build/source/texk/seetexk/font.h @@ -5,6 +5,9 @@ * so long as this copyright notice remains intact. */ +#ifndef _MCTEX_FONT_ +#define _MCTEX_FONT_ + /* * Font file information, readers, etc. */ @@ -276,15 +279,15 @@ struct fontops { /* * Function types. */ -struct font *GetFont(), *GetRasterlessFont(); +struct font *GetFont(char *nm, i32 dvimag, i32 dvidsz, char *dev, char **fname); +struct font *GetRasterlessFont(char *nm, i32 dvimag, i32 dvidsz, char *dev, char **fname); struct glyph *GetGlyph(); char *GetRaster(); void FreeFont(); void FreeGlyph(); void FreeRaster(); char *Font_TeXName(); -double DMagFactor(); /* from magfactor.c */ -void fontinit(); +void fontinit(char *file); /* * Normally from stdio.h @@ -299,3 +302,5 @@ void fontinit(); * called, or is passed a null pointer. */ #define CONFENV "TEXFONTDESC" + +#endif /* _MCTEX_FONT_ */ |