diff options
| author | Christoph Lohmann <20h@r-36.net> | 2012-09-05 21:54:52 +0200 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2012-09-05 21:54:52 +0200 |
| commit | 017af76f5c89fa1acf9b54ceaad2101dcfd880a0 (patch) | |
| tree | 2a2c29c91fd83e53d5fcf8a9d65e10f4d29d731a | |
| parent | Removing unneeded arguments to copy(). Thanks to Andrew Hills. (diff) | |
| download | st-017af76f5c89fa1acf9b54ceaad2101dcfd880a0.tar.gz st-017af76f5c89fa1acf9b54ceaad2101dcfd880a0.zip | |
Forcing the parameter limit to xcopy() and selpaste(). Thanks to Rob Pilling.
| -rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -291,7 +291,7 @@ static void ttywrite(const char *, size_t); | |||
| 291 | static void xdraws(char *, Glyph, int, int, int, int); | 291 | static void xdraws(char *, Glyph, int, int, int, int); |
| 292 | static void xhints(void); | 292 | static void xhints(void); |
| 293 | static void xclear(int, int, int, int); | 293 | static void xclear(int, int, int, int); |
| 294 | static void xcopy(); | 294 | static void xcopy(void); |
| 295 | static void xdrawcursor(void); | 295 | static void xdrawcursor(void); |
| 296 | static void xinit(void); | 296 | static void xinit(void); |
| 297 | static void xloadcols(void); | 297 | static void xloadcols(void); |
| @@ -316,7 +316,7 @@ static void selrequest(XEvent *); | |||
| 316 | static void selinit(void); | 316 | static void selinit(void); |
| 317 | static inline bool selected(int, int); | 317 | static inline bool selected(int, int); |
| 318 | static void selcopy(void); | 318 | static void selcopy(void); |
| 319 | static void selpaste(); | 319 | static void selpaste(void); |
| 320 | static void selscroll(int, int); | 320 | static void selscroll(int, int); |
| 321 | 321 | ||
| 322 | static int utf8decode(char *, long *); | 322 | static int utf8decode(char *, long *); |
