diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-12-03 11:54:24 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-12-03 11:54:24 +0200 |
commit | a486fabb41cdbaa5813c2687fd4008945297d71d (patch) | |
tree | 36983292ee4f45657839efe6f317abecb707d9bf /nt/addpm.c | |
parent | 143a4306759a91e84b486a9e4c52f83d96d8d23d (diff) | |
download | emacs-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.c | 5 |
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; |