diff options
author | Peter Powell <petpow@saberuk.com> | 2013-04-02 20:12:15 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-04-12 17:03:05 +0100 |
commit | 11cafc12d5440b67a9f676c9f6aa67840ca5399d (patch) | |
tree | 7c8eac3b1ad474fdaf42767bffee7c3c4b4cce48 /include/inspstring.h | |
parent | a5fe50aca04ca554d313e7361c571c6a497a9c4e (diff) |
Tidy up source files:
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
Diffstat (limited to 'include/inspstring.h')
-rw-r--r-- | include/inspstring.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/inspstring.h b/include/inspstring.h index 494ce92b1..7a433427a 100644 --- a/include/inspstring.h +++ b/include/inspstring.h @@ -18,13 +18,11 @@ */ -#ifndef INSPSTRING_H -#define INSPSTRING_H +#pragma once // This (config) is needed as inspstring doesn't pull in the central header #include "config.h" #include <cstring> -//#include <cstddef> #ifndef HAS_STRLCPY /** strlcpy() implementation for systems that don't have it (linux) */ @@ -52,6 +50,3 @@ CoreExport std::string BinToHex(const std::string& data); CoreExport std::string BinToBase64(const std::string& data, const char* table = NULL, char pad = 0); /** Base64 decode */ CoreExport std::string Base64ToBin(const std::string& data, const char* table = NULL); - -#endif - |