summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-09-05 21:54:52 +0200
committerChristoph Lohmann <20h@r-36.net>2012-09-05 21:54:52 +0200
commit017af76f5c89fa1acf9b54ceaad2101dcfd880a0 (patch)
tree2a2c29c91fd83e53d5fcf8a9d65e10f4d29d731a
parent42505c5215c84db192287337922581ba43dec89d (diff)
Forcing the parameter limit to xcopy() and selpaste(). Thanks to Rob Pilling.
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index 4e208d4..8e31a73 100644
--- a/st.c
+++ b/st.c
@@ -291,7 +291,7 @@ static void ttywrite(const char *, size_t);
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);
@@ -316,7 +316,7 @@ static void selrequest(XEvent *);
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 *);