diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-16 13:17:52 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-16 13:17:52 -0700 |
commit | 1b66daf529d60196422ba71e77bb95ce74277447 (patch) | |
tree | dd3e25a3c7101885fe2ff9a55b277bc6374e99a8 /bdfint.h | |
parent | 65861022b037b0262529c1e1eedecd0e00afb02d (diff) |
Adopt X.Org standard coding style (via x-indent-all.sh)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'bdfint.h')
-rw-r--r-- | bdfint.h | 35 |
1 files changed, 16 insertions, 19 deletions
@@ -63,25 +63,22 @@ typedef struct BDFSTAT { BOOL haveFontAscent; BOOL haveFontDescent; BOOL haveDefaultCh; -} bdfFileState; +} bdfFileState; -extern void bdfError ( const char * message, ... ) _X_ATTRIBUTE_PRINTF(1, 2); -extern void bdfWarning ( const char *message, ... ) _X_ATTRIBUTE_PRINTF(1, 2); -extern unsigned char * bdfGetLine ( FontFilePtr file, unsigned char *buf, - int len ); -extern Atom bdfForceMakeAtom ( const char *str, int *size ); -extern Atom bdfGetPropertyValue ( char *s ); -extern int bdfIsInteger ( char *str ); -extern unsigned char bdfHexByte ( unsigned char *s ); -extern Bool bdfSpecialProperty ( FontPtr pFont, FontPropPtr prop, - char isString, bdfFileState *bdfState ); -extern int bdfReadFont( FontPtr pFont, FontFilePtr file, - int bit, int byte, int glyph, int scan ); -extern int bdfReadFontInfo( FontInfoPtr pFontInfo, FontFilePtr file ); +extern void bdfError(const char *message, ...) _X_ATTRIBUTE_PRINTF(1, 2); +extern void bdfWarning(const char *message, ...) _X_ATTRIBUTE_PRINTF(1, 2); +extern unsigned char *bdfGetLine(FontFilePtr file, unsigned char *buf, int len); +extern Atom bdfForceMakeAtom(const char *str, int *size); +extern Atom bdfGetPropertyValue(char *s); +extern int bdfIsInteger(char *str); +extern unsigned char bdfHexByte(unsigned char *s); +extern Bool bdfSpecialProperty(FontPtr pFont, FontPropPtr prop, + char isString, bdfFileState *bdfState); +extern int bdfReadFont(FontPtr pFont, FontFilePtr file, + int bit, int byte, int glyph, int scan); +extern int bdfReadFontInfo(FontInfoPtr pFontInfo, FontFilePtr file); -extern void FontCharInkMetrics ( FontPtr pFont, CharInfoPtr pCI, - xCharInfo *pInk ); -extern void FontCharReshape ( FontPtr pFont, CharInfoPtr pSrc, - CharInfoPtr pDst ); +extern void FontCharInkMetrics(FontPtr pFont, CharInfoPtr pCI, xCharInfo *pInk); +extern void FontCharReshape(FontPtr pFont, CharInfoPtr pSrc, CharInfoPtr pDst); -#endif /* BDFINT_H */ +#endif /* BDFINT_H */ |