On Wed, Sep 05, 2012 at 11:07:33AM -0400, Andrew Hills wrote:
> In hg tip (c84141b8303e), two calls to xcopy() in xdrawcursor() pass
> four arguments, which takes no arguments. It looks like xcopy() was
> changed in dcba87365e02 and not all calls to xcopy() were updated. The
> attached patch removes the arguments (no functional changes). I hope
> the current behavior is correct.
>
> --Andrew Hills

Might be worth winging this in while you're at it.


Rob
diff -r c84141b8303e st.c
--- a/st.c	Wed Sep 05 01:32:42 2012 +0200
+++ b/st.c	Wed Sep 05 19:20:24 2012 +0100
@@ -290,7 +290,7 @@
 static void xdraws(char *, Glyph, int, int, int, int);
 static void xhints(void);
 static void xclear(int, int, int, int);
-static void xcopy();
+static void xcopy(void);
 static void xdrawcursor(void);
 static void xinit(void);
 static void xloadcols(void);
@@ -315,7 +315,7 @@
 static void selinit(void);
 static inline bool selected(int, int);
 static void selcopy(void);
-static void selpaste();
+static void selpaste(void);
 static void selscroll(int, int);
 
 static int utf8decode(char *, long *);

Reply via email to