diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-03-14 01:30:24 -0300 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2008-12-19 16:22:29 -0800 |
commit | b6f793d7d5c7f7c55911e6524dede41b92dcbc22 (patch) | |
tree | a048c9f15315c72ae8e157c83bba9c186a09c491 /src/Speedo/spglyph.c | |
parent | 282ac4226195d58e3818e7ac97093e396aa78086 (diff) |
libXfont ansification and removal of xf86_ansic.h dependency
Basically the code is now compiled as if FONTMODULE was never defined,
but also removed some "magic" defining _XOPEN_SOURCE before including
math.h.
Also removed some #if 0'ed code instead of fixing prototypes inside
the "dead code".
Changes to spdo_prv.h were due to defines like:
<hash>define foo() sp_foo()
that would not compile with the ansification in the format:
type foo(void)
due to the macro receiving "void" as an argument.
Diffstat (limited to 'src/Speedo/spglyph.c')
-rw-r--r-- | src/Speedo/spglyph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Speedo/spglyph.c b/src/Speedo/spglyph.c index 113f378..19e7cf8 100644 --- a/src/Speedo/spglyph.c +++ b/src/Speedo/spglyph.c @@ -280,7 +280,7 @@ sp_open_bitmap(fix31 x_set_width, fix31 y_set_width, fix31 xorg, fix31 yorg, } void -sp_close_bitmap() +sp_close_bitmap(void) { CharInfoPtr ci = &sp_fp_cur->encoding[cfv->char_id - sp_fp_cur->master->first_char_id]; int bpr = cfv->bpr; |