projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some missing mappings to CHINA3-JEF code points.
[chise/xemacs-chise.git]
/
lib-src
/
gnuslib.c
diff --git
a/lib-src/gnuslib.c
b/lib-src/gnuslib.c
index
9022d48
..
f0226e6
100644
(file)
--- a/
lib-src/gnuslib.c
+++ b/
lib-src/gnuslib.c
@@
-43,7
+43,7
@@
static int connect_to_ipc_server (void);
static int connect_to_unix_server (void);
#endif
#ifdef INTERNET_DOMAIN_SOCKETS
static int connect_to_unix_server (void);
#endif
#ifdef INTERNET_DOMAIN_SOCKETS
-static int connect_to_internet_server (char *serverhost, u_short port);
+static int connect_to_internet_server (char *serverhost, unsigned short port);
#endif
/* On some systems, e.g. DGUX, inet_addr returns a 'struct in_addr'. */
#endif
/* On some systems, e.g. DGUX, inet_addr returns a 'struct in_addr'. */
@@
-194,7
+194,7
@@
disconnect_from_ipc_server (int s, struct msgbuf *msgp, int echo)
send_string -- send string to socket.
*/
void
send_string -- send string to socket.
*/
void
-send_string (int s, CONST char *msg)
+send_string (int s, const char *msg)
{
#if 0
if (send(s,msg,strlen(msg),0) < 0) {
{
#if 0
if (send(s,msg,strlen(msg),0) < 0) {
@@
-313,7
+313,7
@@
static Xauth *server_xauth = NULL;
descriptor for server if successful.
*/
static int
descriptor for server if successful.
*/
static int
-connect_to_internet_server (char *serverhost, u_short port)
+connect_to_internet_server (char *serverhost, unsigned short port)
{
int s; /* connected socket descriptor */
struct servent *sp; /* pointer to service information */
{
int s; /* connected socket descriptor */
struct servent *sp; /* pointer to service information */