[PATCH:xts 07/16] xts5: Fix missing type specifiers.
Cyril Brulebois
kibi at debian.org
Wed May 25 04:00:16 PDT 2011
Those warnings go away accordingly:
| CC cursor.lo
| cursor.c:123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
| curofwin(display, cursor, window)
| ^~~~~~~~
| cursor.c:133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
| defcur(display, window)
| ^~~~~~
| cursor.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
| spriteiswin(display, window)
| ^~~~~~~~~~~
Signed-off-by: Cyril Brulebois <kibi at debian.org>
---
xts5/src/lib/cursor.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/xts5/src/lib/cursor.c b/xts5/src/lib/cursor.c
index 7cff8a6..e55390b 100644
--- a/xts5/src/lib/cursor.c
+++ b/xts5/src/lib/cursor.c
@@ -120,7 +120,7 @@ purpose. It is provided "as is" without express or implied warranty.
/* does this cursor match that of the window? */
-curofwin(display, cursor, window)
+int curofwin(display, cursor, window)
Display *display;
Cursor cursor;
Window window;
@@ -130,7 +130,7 @@ Window window;
/* has this window the default cursor? */
-defcur(display, window)
+int defcur(display, window)
Display *display;
Window window;
{
@@ -162,7 +162,7 @@ Window window;
/* is the current cursor the same as that of window? */
-spriteiswin(display, window)
+int spriteiswin(display, window)
Display *display;
Window window;
{
--
1.7.5.1
More information about the xorg-devel
mailing list