Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/dox
Modified Files:
dox.h ttfont.c
Log Message:
Prepare to enable compiling the code with paranoid compiler settings.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/dox/dox.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- dox.h 11 Mar 2004 23:28:57 -0000 1.25
+++ dox.h 20 Mar 2004 15:20:40 -0000 1.26
@@ -164,6 +164,12 @@
#include <Fnlib.h>
#endif
+#if HAVE___ATTRIBUTE__
+#define __UNUSED__ __attribute__((unused))
+#else
+#define __UNUSED__
+#endif
+
#define FILEPATH_LEN_MAX 4096
#define DEFAULT_LINKCOLOR_R 30
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/dox/ttfont.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ttfont.c 11 Mar 2004 23:28:57 -0000 1.11
+++ ttfont.c 20 Mar 2004 15:20:40 -0000 1.12
@@ -45,7 +45,7 @@
void
EFont_draw_string(Display * disp, Drawable win, GC gc, int x, int y, char *text,
- Efont * f, Visual * vis, Colormap cm)
+ Efont * f, Visual * vis __UNUSED__, Colormap cm)
{
Imlib_Image im;
int w, h, ascent, descent;
@@ -98,7 +98,7 @@
Efont_extents(Efont * f, char *text, int *font_ascent_return,
int *font_descent_return, int *width_return,
int *max_ascent_return, int *max_descent_return,
- int *lbearing_return, int *rbearing_return)
+ int *lbearing_return __UNUSED__, int *rbearing_return __UNUSED__)
{
int height;
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs