summaryrefslogtreecommitdiff
path: root/src/Speedo/out_blk.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-14 01:30:24 -0300
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-12-19 16:22:29 -0800
commitb6f793d7d5c7f7c55911e6524dede41b92dcbc22 (patch)
treea048c9f15315c72ae8e157c83bba9c186a09c491 /src/Speedo/out_blk.c
parent282ac4226195d58e3818e7ac97093e396aa78086 (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/out_blk.c')
-rw-r--r--src/Speedo/out_blk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Speedo/out_blk.c b/src/Speedo/out_blk.c
index a5b669b..045d33e 100644
--- a/src/Speedo/out_blk.c
+++ b/src/Speedo/out_blk.c
@@ -280,8 +280,7 @@ if (how_many_y < 0)
}
#endif
#if INCL_BLACK
-FUNCTION boolean end_char_black()
-GDECL
+FUNCTION boolean end_char_black(/*** GDECL ***/ void)
/* Called when all character data has been output
* Return TRUE if output process is complete
* Return FALSE to repeat output of the transformed data beginning
@@ -584,8 +583,7 @@ if (++sp_globals.next_offset >= MAX_INTERCEPTS) /* Intercept buffer full? */
#endif
#if INCL_BLACK
-FUNCTION LOCAL void sp_proc_intercepts_black()
-GDECL
+FUNCTION LOCAL void sp_proc_intercepts_black(/** GDECL **/ void)
/* Called by sp_make_char to output accumulated intercept lists
* Clips output to sp_globals.xmin, sp_globals.xmax, sp_globals.ymin, sp_globals.ymax boundaries