summaryrefslogtreecommitdiff
path: root/src/w32fns.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-04-16 09:14:07 +0300
committerEli Zaretskii <eliz@gnu.org>2020-04-16 09:14:07 +0300
commit490f279c7e05e81bcc07e03c315aead27524f0a7 (patch)
tree5b65367ce52a4029ee67d2c8c3e81a4e2596c453 /src/w32fns.c
parente16374507f8c51c61f0f1a276308144baf8d6489 (diff)
downloademacs-490f279c7e05e81bcc07e03c315aead27524f0a7.tar.gz
File-handling cleanup in w32image.c
* src/w32image.c (w32_load_image): Encode the image file name and convert it via 'map_w32_filename'. No need to do anything special when 'w32_unicode_filenames' is zero, since file names are in UTF-8 internally, and this code will never run on Windows 9X. * src/w32.h (map_w32_filename): Add prototype; removed prototypes from all *.c files.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r--src/w32fns.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 4f7cbed249d..e595b0285a7 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -80,7 +80,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
extern int w32_console_toggle_lock_key (int, Lisp_Object);
extern void w32_menu_display_help (HWND, HMENU, UINT, UINT);
extern void w32_free_menu_strings (HWND);
-extern const char *map_w32_filename (const char *, const char **);
#ifndef IDC_HAND
#define IDC_HAND MAKEINTRESOURCE(32649)