summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-06-13 22:28:56 +0000
committerBram Moolenaar <Bram@vim.org>2005-06-13 22:28:56 +0000
commit9ba0eb850c0f4c94df3b7f7461610bf0b073f712 (patch)
tree11638af8ad8ecdfd337a6db15914b2e2cdff3aea /src/os_win32.c
parentbac97eb8ae6b067466cab0481cac2f25b335ffe7 (diff)
downloadvim-git-9ba0eb850c0f4c94df3b7f7461610bf0b073f712.tar.gz
updated for version 7.0084v7.0084
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index a55f46c19..82a3ce0f9 100644
--- a/src/os_win32.c
+++ b/src/os_win32.c
@@ -300,8 +300,7 @@ dyn_libintl_init(char *libname)
}
/* The bind_textdomain_codeset() function is optional. */
- (FARPROC)dyn_libintl_bind_textdomain_codeset =
- (FARPROC)GetProcAddress(hLibintlDLL,
+ dyn_libintl_bind_textdomain_codeset = (void *)GetProcAddress(hLibintlDLL,
"bind_textdomain_codeset");
if (dyn_libintl_bind_textdomain_codeset == NULL)
dyn_libintl_bind_textdomain_codeset =
@@ -322,18 +321,21 @@ dyn_libintl_end()
dyn_libintl_bind_textdomain_codeset = null_libintl_bind_textdomain_codeset;
}
+/*ARGSUSED*/
static char *
null_libintl_gettext(const char *msgid)
{
return (char*)msgid;
}
+/*ARGSUSED*/
static char *
null_libintl_bindtextdomain(const char *domainname, const char *dirname)
{
return NULL;
}
+/*ARGSUSED*/
static char *
null_libintl_bind_textdomain_codeset(const char *domainname,
const char *codeset)
@@ -341,6 +343,7 @@ null_libintl_bind_textdomain_codeset(const char *domainname,
return NULL;
}
+/*ARGSUSED*/
static char *
null_libintl_textdomain(const char *domainname)
{
@@ -446,6 +449,7 @@ mch_windows95(void)
static int old_num_windows;
static int num_windows;
+/*ARGSUSED*/
static BOOL CALLBACK
win32ssynch_cb(HWND hwnd, LPARAM lparam)
{
@@ -762,6 +766,7 @@ decode_key_event(
* For the GUI the mouse handling is in gui_w32.c.
*/
# ifdef FEAT_GUI_W32
+/*ARGSUSED*/
void
mch_setmouse(int on)
{
@@ -2211,6 +2216,7 @@ mch_exit(int r)
/*
* Do we have an interactive window?
*/
+/*ARGSUSED*/
int
mch_check_win(
int argc,
@@ -3444,6 +3450,7 @@ termcap_mode_end(void)
#ifdef FEAT_GUI_W32
+/*ARGSUSED*/
void
mch_write(
char_u *s,
@@ -4099,6 +4106,7 @@ mch_write(
/*
* Delay for half a second.
*/
+/*ARGSUSED*/
void
mch_delay(
long msec,
@@ -4716,7 +4724,7 @@ copy_infostreams(char_u *from, char_u *to)
/* Advance to the next stream. We might try seeking too far,
* but BackupSeek() doesn't skip over stream borders, thus
* that's OK. */
- (void)BackupSeek(sh, sid.Size.LowPart, sid.Size.u.HighPart,
+ (void)BackupSeek(sh, sid.Size.u.LowPart, sid.Size.u.HighPart,
&lo, &hi, &context);
}