diff options
-rw-r--r-- | src/util.h | 4 | ||||
-rw-r--r-- | src/wgetopt.cpp | 8 |
2 files changed, 2 insertions, 10 deletions
@@ -13,7 +13,7 @@ Returns the larger of two ints */ template<typename T> -static inline T maxi(T a, T b) +inline T maxi(T a, T b) { return a>b?a:b; } @@ -22,7 +22,7 @@ static inline T maxi(T a, T b) Returns the smaller of two ints */ template<typename T> -static inline T mini(T a, T b) +inline T mini(T a, T b) { return a<b?a:b; } diff --git a/src/wgetopt.cpp b/src/wgetopt.cpp index 15deb3b1..80ffdcc9 100644 --- a/src/wgetopt.cpp +++ b/src/wgetopt.cpp @@ -51,14 +51,6 @@ #include "config.h" -#if !defined (__STDC__) || !__STDC__ -/* This is a separate conditional since some stdc systems - reject `defined (const)'. */ -#ifndef const -#define const -#endif -#endif - #include <stdio.h> #include <wchar.h> #include "common.h" |