comctl32/monthcal: Make MONTHCAL_Get{Prev,Next}Month() static.

Francois Gouget fgouget at free.fr
Thu Oct 8 04:23:00 CDT 2009


---

Changed the inline placement as 'static inline' in one chunk seems more 
standard.

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

diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index 893a505..a8c4ba9 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -383,7 +383,7 @@ int MONTHCAL_CalculateDayOfWeek(DWORD day, DWORD month, DWORD year)
 }
 
 /* properly updates date to point on next month */
-void inline MONTHCAL_GetNextMonth(SYSTEMTIME *date)
+static inline void MONTHCAL_GetNextMonth(SYSTEMTIME *date)
 {
   if(++date->wMonth > 12)
   {
@@ -395,7 +395,7 @@ void inline MONTHCAL_GetNextMonth(SYSTEMTIME *date)
 }
 
 /* properly updates date to point on prev month */
-void inline MONTHCAL_GetPrevMonth(SYSTEMTIME *date)
+static inline void MONTHCAL_GetPrevMonth(SYSTEMTIME *date)
 {
   if(--date->wMonth < 1)
   {
-- 
1.6.3.3




More information about the wine-patches mailing list