mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
More consts.
This commit is contained in:
@@ -30,7 +30,7 @@ void SelectionOn(int, int);
|
||||
void SelectionExtend(int, int);
|
||||
void SelectionSet(void);
|
||||
|
||||
int write_socket(int, char *, int);
|
||||
int write_socket(int, const char *, int);
|
||||
int read_socket(int, char *, int);
|
||||
|
||||
int XCursesSetupX(const char *display_name, int argc, char *argv[]);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#ifdef PDCDEBUG
|
||||
const char rcsid_x11common =
|
||||
"$Id: x11common.c,v 1.11 2006/02/23 01:46:54 wmcbrine Exp $";
|
||||
"$Id: x11common.c,v 1.12 2006/02/27 08:19:33 wmcbrine Exp $";
|
||||
#endif
|
||||
|
||||
/* Variables specific to process port */
|
||||
@@ -33,7 +33,7 @@ fd_set writefds;
|
||||
|
||||
struct timeval socket_timeout;
|
||||
|
||||
int write_socket(int sock_num, char *buf, int len)
|
||||
int write_socket(int sock_num, const char *buf, int len)
|
||||
{
|
||||
int start = 0, rc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user