diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-09-09 14:50:31 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-09-09 15:47:29 +0200 |
| commit | 963af6449f3fbbb3f9fd79547a33e4f3d5e3f0d0 (patch) | |
| tree | f2bde488f00cde891761812a58dc55bef8270f63 /src/util.h | |
| parent | Add printf-style warnings to strprintf() and OutputDebugStringF() (diff) | |
| download | discoin-963af6449f3fbbb3f9fd79547a33e4f3d5e3f0d0.tar.xz discoin-963af6449f3fbbb3f9fd79547a33e4f3d5e3f0d0.zip | |
Cleanup some unused macros from util.h
Encapsulate _snprintf/sprintf difference in implementation not header
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util.h b/src/util.h index b75c3bff4..90df4efa3 100644 --- a/src/util.h +++ b/src/util.h @@ -79,11 +79,7 @@ T* alignup(T* p) #define S_IRUSR 0400 #define S_IWUSR 0200 #endif -#define unlink _unlink #else -#define _vsnprintf(a,b,c,d) vsnprintf(a,b,c,d) -#define strlwr(psz) to_lower(psz) -#define _strlwr(psz) to_lower(psz) #define MAX_PATH 1024 inline void Sleep(int64 n) { @@ -130,7 +126,6 @@ extern bool fReopenDebugLog; void RandAddSeed(); void RandAddSeedPerfmon(); int ATTR_WARN_PRINTF(1,2) OutputDebugStringF(const char* pszFormat, ...); -int my_snprintf(char* buffer, size_t limit, const char* format, ...); /* Rationale for the real_strprintf / strprintf construction: |