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

Francois Gouget fgouget at free.fr
Thu Aug 26 06:01:09 CDT 2010


---
 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;
 
-- 
1.7.1




More information about the wine-patches mailing list