summaryrefslogtreecommitdiff
path: root/lib/libfontenc/include/X11/fonts/fontenc.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2015-05-10 09:27:17 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2015-05-10 09:27:17 +0000
commitbe93aaaa39a53eb07487c4f99f91d11fec22422e (patch)
tree93f692864f01c3e913e0735878927d00eb453fdf /lib/libfontenc/include/X11/fonts/fontenc.h
parent19a4be26490710547cd40f3cca15ea1e849f7cff (diff)
Update to libfontenc 1.1.3
Diffstat (limited to 'lib/libfontenc/include/X11/fonts/fontenc.h')
-rw-r--r--lib/libfontenc/include/X11/fonts/fontenc.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libfontenc/include/X11/fonts/fontenc.h b/lib/libfontenc/include/X11/fonts/fontenc.h
index 656cfaae7..709f97fca 100644
--- a/lib/libfontenc/include/X11/fonts/fontenc.h
+++ b/lib/libfontenc/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