From 7f731a106441c357ae9e3509d7541cf87bcc9a63 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 2 Jan 2006 00:06:30 +0000 Subject: Make functions static. Remove unused variable. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 240 --- src/i_video.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/i_video.c b/src/i_video.c index f1830c59..5bc83d5b 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: i_video.c 205 2005-10-17 19:46:22Z fraggle $ +// $Id: i_video.c 240 2006-01-02 00:06:30Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.41 2006/01/02 00:06:30 fraggle +// Make functions static. Remove unused variable. +// // Revision 1.40 2005/10/17 19:46:22 fraggle // Guard against multiple video shutdowns better. Fix crash due to improper // screen clear at startup. @@ -165,7 +168,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: i_video.c 205 2005-10-17 19:46:22Z fraggle $"; +rcsid[] = "$Id: i_video.c 240 2006-01-02 00:06:30Z fraggle $"; #include #include @@ -531,7 +534,7 @@ void I_UpdateNoBlit (void) // what is this? } -void UpdateGrab(void) +static void UpdateGrab(void) { static boolean currently_grabbed = false; boolean grab; @@ -561,7 +564,6 @@ void UpdateGrab(void) static void BlitArea(int x1, int y1, int x2, int y2) { int w = x2 - x1; - int h = y2 - y1; if (screenmultiply == 1 && !native_surface) { @@ -625,7 +627,7 @@ static void BlitArea(int x1, int y1, int x2, int y2) } } -void UpdateRect(int x1, int y1, int x2, int y2) +static void UpdateRect(int x1, int y1, int x2, int y2) { // Do stretching and blitting -- cgit v1.2.3