Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/lib Modified Files: e16_hack.c Log Message: Fix warnings (some gcc versions). =================================================================== RCS file: /cvs/e/e16/e/lib/e16_hack.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e16_hack.c 10 Sep 2006 18:43:20 -0000 1.1 +++ e16_hack.c 3 Oct 2006 20:11:25 -0000 1.2 @@ -58,26 +58,18 @@ /* XCreateWindow intercept hack */ Window -XCreateWindow(Display * display, - Window parent, - int x, int y, +XCreateWindow(Display * display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, - int depth, - unsigned int class, - Visual * visual, + int depth, unsigned int class, Visual * visual, unsigned long valuemask, XSetWindowAttributes * attributes) { static Window(*func) - (Display * display, - Window parent, - int x, int y, - unsigned int width, unsigned int height, - unsigned int border_width, - int depth, - unsigned int class, - Visual * visual, - unsigned long valuemask, XSetWindowAttributes * attributes) = NULL; + (Display * _display, Window _parent, int _x, int _y, + unsigned int _width, unsigned int _height, + unsigned int _border_width, + int _depth, unsigned int _class, Visual * _visual, + unsigned long _valuemask, XSetWindowAttributes * _attributes) = NULL; /* find the real Xlib and the real X function */ if (!lib_xlib) @@ -94,20 +86,16 @@ /* XCreateSimpleWindow intercept hack */ Window -XCreateSimpleWindow(Display * display, - Window parent, - int x, int y, +XCreateSimpleWindow(Display * display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, unsigned long border, unsigned long background) { static Window(*func) - (Display * display, - Window parent, - int x, int y, - unsigned int width, unsigned int height, - unsigned int border_width, - unsigned long border, unsigned long background) = NULL; + (Display * _display, Window _parent, int _x, int _y, + unsigned int _width, unsigned int _height, + unsigned int _border_width, + unsigned long _border, unsigned long _background) = NULL; /* find the real Xlib and the real X function */ if (!lib_xlib) @@ -127,7 +115,8 @@ XReparentWindow(Display * display, Window window, Window parent, int x, int y) { static int (*func) - (Display * display, Window window, Window parent, int x, int y) = NULL; + (Display * _display, Window _window, Window _parent, int _x, int _y) = + NULL; /* find the real Xlib and the real X function */ if (!lib_xlib) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs