summaryrefslogtreecommitdiff
path: root/nt/addpm.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-12-03 11:54:24 +0200
committerEli Zaretskii <eliz@gnu.org>2016-12-03 11:54:24 +0200
commita486fabb41cdbaa5813c2687fd4008945297d71d (patch)
tree36983292ee4f45657839efe6f317abecb707d9bf /nt/addpm.c
parent143a4306759a91e84b486a9e4c52f83d96d8d23d (diff)
downloademacs-a486fabb41cdbaa5813c2687fd4008945297d71d.tar.gz
Avoid compilation warnings in nt/*.c files
* nt/cmdproxy.c (fail, vfprintf, fprintf, printf, warn) (console_event_handler): Add prototypes. (canon_filename, skip_space, skip_nonspace, get_next_token) (batch_file_p, search_dir, make_absolute, try_dequote_cmdline) (spawn, get_env_size): Now static. * nt/ddeclient.c (DdeCallback): Provide prototype. * nt/addpm.c (DdeCallback): Provide prototype. (add_registry): Now static.
Diffstat (limited to 'nt/addpm.c')
-rw-r--r--nt/addpm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nt/addpm.c b/nt/addpm.c
index 2161ea786bd..14a77d57498 100644
--- a/nt/addpm.c
+++ b/nt/addpm.c
@@ -53,6 +53,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "../src/epaths.h"
#endif
+HDDEDATA CALLBACK DdeCallback (UINT, UINT, HCONV, HSZ, HSZ, HDDEDATA, DWORD,
+ DWORD);
+
HDDEDATA CALLBACK
DdeCallback (UINT uType, UINT uFmt, HCONV hconv,
HSZ hsz1, HSZ hsz2, HDDEDATA hdata,
@@ -101,7 +104,7 @@ env_vars[] =
#endif
};
-void
+static void
add_registry (const char *path)
{
HKEY hrootkey = NULL;