Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
42505c5
)
Forcing the parameter limit to xcopy() and selpaste(). Thanks to Rob Pilling.
author
Christoph Lohmann <
[email protected]
>
Wed, 5 Sep 2012 19:54:52 +0000
(21:54 +0200)
committer
Christoph Lohmann <
[email protected]
>
Wed, 5 Sep 2012 19:54:52 +0000
(21:54 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
4e208d4
..
8e31a73
100644
(file)
--- 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 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);
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 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 *);
static void selscroll(int, int);
static int utf8decode(char *, long *);