summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2005-07-28 09:45:10 +0000
committerJuanma Barranquero <lekktu@gmail.com>2005-07-28 09:45:10 +0000
commit14d050df8248a066dc2daca648942db79855dd2f (patch)
tree93019e76b1440d0c72802b9a8ba6a7b30bd6fc11
parentc638055f54ac85c9c93765c17565e50f513d616d (diff)
downloademacs-14d050df8248a066dc2daca648942db79855dd2f.tar.gz
(my_show_window, my_set_window_pos, my_set_focus, my_set_foreground_window,
my_destroy_window): Make static.
-rw-r--r--src/w32term.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/w32term.c b/src/w32term.c
index b6cc61df2a5..796a341ae0c 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -272,6 +272,11 @@ static void x_draw_hollow_cursor P_ ((struct window *, struct glyph_row *));
static void x_draw_bar_cursor P_ ((struct window *, struct glyph_row *, int,
enum text_cursor_kinds));
static void w32_clip_to_row P_ ((struct window *, struct glyph_row *, int, HDC));
+static BOOL my_show_window P_ ((struct frame *, HWND, int));
+static void my_set_window_pos P_ ((HWND, HWND, int, int, int, int, UINT));
+static void my_set_focus P_ ((struct frame *, HWND));
+static void my_set_foreground_window P_ ((HWND));
+static void my_destroy_window P_ ((struct frame *, HWND));
static Lisp_Object Qvendor_specific_keysyms;
@@ -3632,7 +3637,7 @@ my_create_scrollbar (f, bar)
/*#define ATTACH_THREADS*/
-BOOL
+static BOOL
my_show_window (FRAME_PTR f, HWND hwnd, int how)
{
#ifndef ATTACH_THREADS
@@ -3643,7 +3648,7 @@ my_show_window (FRAME_PTR f, HWND hwnd, int how)
#endif
}
-void
+static void
my_set_window_pos (HWND hwnd, HWND hwndAfter,
int x, int y, int cx, int cy, UINT flags)
{
@@ -3661,7 +3666,7 @@ my_set_window_pos (HWND hwnd, HWND hwndAfter,
#endif
}
-void
+static void
my_set_focus (f, hwnd)
struct frame * f;
HWND hwnd;
@@ -3670,14 +3675,15 @@ my_set_focus (f, hwnd)
(WPARAM) hwnd, 0);
}
-void
+static void
my_set_foreground_window (hwnd)
HWND hwnd;
{
SendMessage (hwnd, WM_EMACS_SETFOREGROUND, (WPARAM) hwnd, 0);
}
-void
+
+static void
my_destroy_window (f, hwnd)
struct frame * f;
HWND hwnd;