diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2015-01-17 19:18:41 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2015-01-17 19:18:41 -0800 |
commit | c377d91157601df90936e49167ce28a548c9b740 (patch) | |
tree | 21a4643f9dca64f0137ceb2203b7f88f50614c72 /include/X11 | |
parent | 8eefb5a18de41b693c00767458ee51f034201ebf (diff) |
Reformat code to X.Org standard style
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include/X11')
-rw-r--r-- | include/X11/fonts/fontenc.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/X11/fonts/fontenc.h b/include/X11/fonts/fontenc.h index 656cfaa..709f97f 100644 --- a/include/X11/fonts/fontenc.h +++ b/include/X11/fonts/fontenc.h @@ -49,8 +49,8 @@ THE SOFTWARE. typedef struct _FontMap { int type; /* the type of the mapping */ int pid, eid; /* the identification of the mapping */ - unsigned (*recode)(unsigned, void*); /* mapping function */ - char *(*name)(unsigned, void*); /* function returning glyph names */ + unsigned (*recode) (unsigned, void *); /* mapping function */ + char *(*name) (unsigned, void *); /* function returning glyph names */ void *client_data; /* second parameter of the two above */ struct _FontMap *next; /* link to next element in list */ /* The following was added for version 0.3 of the font interface. */ @@ -76,8 +76,8 @@ typedef struct _FontEnc { } FontEncRec, *FontEncPtr; typedef struct _FontMapReverse { - unsigned int (*reverse)(unsigned, void*); - void *data; + unsigned int (*reverse) (unsigned, void *); + void *data; } FontMapReverseRec, *FontMapReversePtr; @@ -85,12 +85,12 @@ typedef struct _FontMapReverse { /* extract an encoding name from an XLFD name. Returns a pointer to a *static* buffer, or NULL */ -char *FontEncFromXLFD(const char*, int); +char *FontEncFromXLFD(const char *, int); /* find the encoding data for a given encoding name; second parameter is the filename of the font for which the encoding is needed. Returns NULL on failure. */ -FontEncPtr FontEncFind(const char*, const char*); +FontEncPtr FontEncFind(const char *, const char *); /* Find a given mapping for an encoding. This is only a convenience function, as clients are allowed to scavenge the data structures @@ -109,7 +109,7 @@ char *FontEncName(unsigned, FontMapPtr); /* Return a pointer to the name of the system encodings directory. */ /* This string is static and should not be modified. */ -char* FontEncDirectory(void); +char *FontEncDirectory(void); /* Identify an encoding file. If fileName doesn't exist, or is not an encoding file, return NULL, otherwise returns a NULL-terminated |