Francois Gouget : d3dx9_36: Make {is,make}_pow2() static.

Alexandre Julliard julliard at winehq.org
Thu Aug 26 11:42:03 CDT 2010


Module: wine
Branch: master
Commit: 2f8f70bca77a5b03d662392c1816362484031a5e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2f8f70bca77a5b03d662392c1816362484031a5e

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Aug 26 13:01:09 2010 +0200

d3dx9_36: Make {is,make}_pow2() static.

---

 dlls/d3dx9_36/texture.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dx9_36/texture.c b/dlls/d3dx9_36/texture.c
index 8992399..8895a8f 100644
--- a/dlls/d3dx9_36/texture.c
+++ b/dlls/d3dx9_36/texture.c
@@ -24,13 +24,13 @@
 WINE_DEFAULT_DEBUG_CHANNEL(d3dx);
 
 /* Returns TRUE if num is a power of 2, FALSE if not, or if 0 */
-BOOL is_pow2(UINT num)
+static BOOL is_pow2(UINT num)
 {
     return !(num & (num - 1));
 }
 
 /* Returns the smallest power of 2 which is greater than or equal to num */
-UINT make_pow2(UINT num)
+static UINT make_pow2(UINT num)
 {
     UINT result = 1;
 




More information about the wine-cvs mailing list