Mercurial > hg > xemacs-beta
comparison lib-src/gnuclient.c @ 2286:04bc9d2f42c7
[xemacs-hg @ 2004-09-20 19:18:55 by james]
Mark all unused parameters as unused. Also eliminate some unneeded local
variables.
author | james |
---|---|
date | Mon, 20 Sep 2004 19:20:08 +0000 |
parents | dfee0026a079 |
children | c164e88b1977 |
comparison
equal
deleted
inserted
replaced
2285:914c5afaac33 | 2286:04bc9d2f42c7 |
---|---|
51 #ifdef CYGWIN | 51 #ifdef CYGWIN |
52 extern void cygwin_conv_to_posix_path(const char *path, char *posix_path); | 52 extern void cygwin_conv_to_posix_path(const char *path, char *posix_path); |
53 #endif | 53 #endif |
54 | 54 |
55 #include "gnuserv.h" | 55 #include "gnuserv.h" |
56 #include "compiler.h" | |
56 | 57 |
57 char gnuserv_version[] = "gnuclient version " GNUSERV_VERSION; | 58 char gnuserv_version[] = "gnuclient version " GNUSERV_VERSION; |
58 | 59 |
59 #include "getopt.h" | 60 #include "getopt.h" |
60 | 61 |
79 static pid_t emacs_pid; /* Process id for emacs process */ | 80 static pid_t emacs_pid; /* Process id for emacs process */ |
80 | 81 |
81 void initialize_signals (void); | 82 void initialize_signals (void); |
82 | 83 |
83 static void | 84 static void |
84 tell_emacs_to_resume (int sig) | 85 tell_emacs_to_resume (int UNUSED (sig)) |
85 { | 86 { |
86 char buffer[GSERV_BUFSZ+1]; | 87 char buffer[GSERV_BUFSZ+1]; |
87 int s; /* socket / msqid to server */ | 88 int s; /* socket / msqid to server */ |
88 int connect_type; /* CONN_UNIX, CONN_INTERNET, or | 89 int connect_type; /* CONN_UNIX, CONN_INTERNET, or |
89 ONN_IPC */ | 90 ONN_IPC */ |