[hackers] [st] Forcing the parameter limit to xcopy() and selpaste(). Thanks to Rob Pilling. || Christoph Lohmann

From: <hg_AT_suckless.org>
Date: Wed, 5 Sep 2012 21:56:43 +0200 (CEST)

changeset: 283:a15194f48b1c
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Wed Sep 05 21:54:52 2012 +0200
files: st.c
description:
Forcing the parameter limit to xcopy() and selpaste(). Thanks to Rob Pilling.


diff -r c9b03f356b78 -r a15194f48b1c st.c
--- a/st.c Wed Sep 05 21:52:01 2012 +0200
+++ b/st.c Wed Sep 05 21:54:52 2012 +0200
_AT_@ -291,7 +291,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);
_AT_@ -316,7 +316,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 *);
Received on Wed Sep 05 2012 - 21:56:43 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 05 2012 - 22:00:09 CEST