]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspstring.h
Tidy up source files:
[user/henk/code/inspircd.git] / include / inspstring.h
index 494ce92b156a250acc671b98093047f744519235..7a433427a5a8efdba001044509b497ca8e7b09cc 100644 (file)
  */
 
 
-#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
-