summaryrefslogtreecommitdiff
path: root/fontproto.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-01-19 12:59:45 -0800
committerKeith Packard <keithp@keithp.com>2014-01-22 09:43:48 -0800
commit431a426623b2e46a0968d8fc631f36ec0cf7298f (patch)
treeab4045e9d2f80c637b3c3ca97a9bc5c500169389 /fontproto.h
parentd84789dc33b8e8d284f2876b6067906183ac4253 (diff)
Replace 'pointer' with the equivalent 'void *'.
The pointer typedef is being removed because it causes so many compiler warnings when -Wshadow is enabled. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'fontproto.h')
-rw-r--r--fontproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fontproto.h b/fontproto.h
index 1ab8f37..490629e 100644
--- a/fontproto.h
+++ b/fontproto.h
@@ -74,7 +74,7 @@ extern FontPtr CreateFontRec (void);
extern void DestroyFontRec (FontPtr font);
extern Bool _FontSetNewPrivate (FontPtr /* pFont */,
int /* n */,
- pointer /* ptr */);
+ void * /* ptr */);
extern int AllocateFontPrivateIndex (void);
extern void ResetFontPrivateIndex (void);