summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-10-02 00:32:11 +0200
committerAki <please@ignore.pl>2021-10-02 00:32:11 +0200
commit309d3544ca7ab144fa5c60f1cf83b38f17d070b7 (patch)
treeaabda583f0a3ae2bd11879729da62b7c2ebc357f
parent7a0ecea108c41c85af1ce8e3f4a98089bff9aa86 (diff)
downloadstarshatter-309d3544ca7ab144fa5c60f1cf83b38f17d070b7.zip
starshatter-309d3544ca7ab144fa5c60f1cf83b38f17d070b7.tar.gz
starshatter-309d3544ca7ab144fa5c60f1cf83b38f17d070b7.tar.bz2
Streamlined file and guard endings in Foundation and NetEx
-rw-r--r--FoundationEx/Dictionary.h2
-rw-r--r--FoundationEx/List.h2
-rw-r--r--FoundationEx/MemDebug.cpp4
-rw-r--r--FoundationEx/MemDebug.h6
-rw-r--r--FoundationEx/Text.h2
-rw-r--r--FoundationEx/ThreadSync.h2
-rw-r--r--NetEx/HttpClient.h2
-rw-r--r--NetEx/HttpServer.h2
-rw-r--r--NetEx/HttpServlet.h2
-rw-r--r--NetEx/HttpServletExec.h2
-rw-r--r--NetEx/NetAddr.h2
-rw-r--r--NetEx/NetClient.h2
-rw-r--r--NetEx/NetGram.h2
-rw-r--r--NetEx/NetHost.h2
-rw-r--r--NetEx/NetLayer.h2
-rw-r--r--NetEx/NetLink.h2
-rw-r--r--NetEx/NetMsg.h3
-rw-r--r--NetEx/NetPeer.h2
-rw-r--r--NetEx/NetServer.h2
-rw-r--r--NetEx/NetSock.h2
20 files changed, 24 insertions, 23 deletions
diff --git a/FoundationEx/Dictionary.h b/FoundationEx/Dictionary.h
index 8a8c49d..cfbaab9 100644
--- a/FoundationEx/Dictionary.h
+++ b/FoundationEx/Dictionary.h
@@ -121,5 +121,5 @@ public:
// +-------------------------------------------------------------------+
#include "Dictionary.inl"
-#endif Dictionary_h
+#endif // Dictionary_h
diff --git a/FoundationEx/List.h b/FoundationEx/List.h
index 13a48cd..8f31296 100644
--- a/FoundationEx/List.h
+++ b/FoundationEx/List.h
@@ -127,5 +127,5 @@ private:
};
#include "List.inl"
-#endif List_h
+#endif // List_h
diff --git a/FoundationEx/MemDebug.cpp b/FoundationEx/MemDebug.cpp
index 4f3174f..2a02a2e 100644
--- a/FoundationEx/MemDebug.cpp
+++ b/FoundationEx/MemDebug.cpp
@@ -119,9 +119,9 @@ void __cdecl operator delete(void* p, const char*, int)
::operator delete(p);
}
-#endif _DEBUG
+#endif // _DEBUG
-#endif FOUNDATION_USE_MFC
+#endif // FOUNDATION_USE_MFC
static void heapdump()
{
diff --git a/FoundationEx/MemDebug.h b/FoundationEx/MemDebug.h
index 0bd63da..f8ca60e 100644
--- a/FoundationEx/MemDebug.h
+++ b/FoundationEx/MemDebug.h
@@ -102,11 +102,11 @@ void* __cdecl operator new(unsigned int s);
void __cdecl operator delete(void* p, const char*, int);
-#endif _DEBUG
+#endif // _DEBUG
// +--------------------------------------------------------------------+
-#endif FOUNDATION_USE_MFC
+#endif // FOUNDATION_USE_MFC
-#endif MemDebug_h
+#endif // MemDebug_h
diff --git a/FoundationEx/Text.h b/FoundationEx/Text.h
index ee946f8..170eafe 100644
--- a/FoundationEx/Text.h
+++ b/FoundationEx/Text.h
@@ -214,4 +214,4 @@ inline Text operator+( char* l, const Text& r) { return Text(l) + r; }
// +-------------------------------------------------------------------+
-#endif Text_h
+#endif // Text_h
diff --git a/FoundationEx/ThreadSync.h b/FoundationEx/ThreadSync.h
index 7bf66c0..cfe7a4e 100644
--- a/FoundationEx/ThreadSync.h
+++ b/FoundationEx/ThreadSync.h
@@ -78,4 +78,4 @@ private:
ThreadSync& sync;
};
-#endif ThreadSync_h
+#endif // ThreadSync_h
diff --git a/NetEx/HttpClient.h b/NetEx/HttpClient.h
index e9b84b9..54c5f4e 100644
--- a/NetEx/HttpClient.h
+++ b/NetEx/HttpClient.h
@@ -64,4 +64,4 @@ protected:
};
-#endif HttpClient_h \ No newline at end of file
+#endif // HttpClient_h
diff --git a/NetEx/HttpServer.h b/NetEx/HttpServer.h
index fb74fbc..9101944 100644
--- a/NetEx/HttpServer.h
+++ b/NetEx/HttpServer.h
@@ -238,4 +238,4 @@ private:
};
-#endif HttpServer_h \ No newline at end of file
+#endif // HttpServer_h
diff --git a/NetEx/HttpServlet.h b/NetEx/HttpServlet.h
index e209671..3b94320 100644
--- a/NetEx/HttpServlet.h
+++ b/NetEx/HttpServlet.h
@@ -106,4 +106,4 @@ protected:
};
-#endif HttpServlet_h \ No newline at end of file
+#endif // HttpServlet_h
diff --git a/NetEx/HttpServletExec.h b/NetEx/HttpServletExec.h
index 3ae1be1..168b9d8 100644
--- a/NetEx/HttpServletExec.h
+++ b/NetEx/HttpServletExec.h
@@ -78,4 +78,4 @@ protected:
bool exec_shutdown;
};
-#endif HttpServletExec_h \ No newline at end of file
+#endif // HttpServletExec_h
diff --git a/NetEx/NetAddr.h b/NetEx/NetAddr.h
index 32e01c9..c0059d7 100644
--- a/NetEx/NetAddr.h
+++ b/NetEx/NetAddr.h
@@ -80,4 +80,4 @@ private:
};
-#endif NetAddr_h \ No newline at end of file
+#endif // NetAddr_h
diff --git a/NetEx/NetClient.h b/NetEx/NetClient.h
index 932847c..74ea329 100644
--- a/NetEx/NetClient.h
+++ b/NetEx/NetClient.h
@@ -124,4 +124,4 @@ public:
};
-#endif NetClient_h \ No newline at end of file
+#endif // NetClient_h
diff --git a/NetEx/NetGram.h b/NetEx/NetGram.h
index d1831b4..9626f86 100644
--- a/NetEx/NetGram.h
+++ b/NetEx/NetGram.h
@@ -100,4 +100,4 @@ protected:
};
-#endif NetGram_h
+#endif // NetGram_h
diff --git a/NetEx/NetHost.h b/NetEx/NetHost.h
index cf6c255..b81ce2f 100644
--- a/NetEx/NetHost.h
+++ b/NetEx/NetHost.h
@@ -71,4 +71,4 @@ private:
};
-#endif // NET_HOST_H \ No newline at end of file
+#endif // NET_HOST_H
diff --git a/NetEx/NetLayer.h b/NetEx/NetLayer.h
index 49c884e..d2a9528 100644
--- a/NetEx/NetLayer.h
+++ b/NetEx/NetLayer.h
@@ -67,4 +67,4 @@ private:
};
-#endif NetLayer_h \ No newline at end of file
+#endif // NetLayer_h
diff --git a/NetEx/NetLink.h b/NetEx/NetLink.h
index c39a32e..1b861a0 100644
--- a/NetEx/NetLink.h
+++ b/NetEx/NetLink.h
@@ -134,4 +134,4 @@ protected:
};
-#endif NetLink_h \ No newline at end of file
+#endif // NetLink_h
diff --git a/NetEx/NetMsg.h b/NetEx/NetMsg.h
index 072886b..e0c6d1b 100644
--- a/NetEx/NetMsg.h
+++ b/NetEx/NetMsg.h
@@ -102,4 +102,5 @@ struct NetMsgMultipart {
// +-------------------------------------------------------------------+
-#endif NetMsg_h
+
+#endif // NetMsg_h
diff --git a/NetEx/NetPeer.h b/NetEx/NetPeer.h
index 4849f2f..c48b69b 100644
--- a/NetEx/NetPeer.h
+++ b/NetEx/NetPeer.h
@@ -119,4 +119,4 @@ private:
};
-#endif NetPeer_h \ No newline at end of file
+#endif // NetPeer_h
diff --git a/NetEx/NetServer.h b/NetEx/NetServer.h
index f0b261f..a2ce126 100644
--- a/NetEx/NetServer.h
+++ b/NetEx/NetServer.h
@@ -86,4 +86,4 @@ protected:
};
-#endif NetServer_h \ No newline at end of file
+#endif // NetServer_h
diff --git a/NetEx/NetSock.h b/NetEx/NetSock.h
index 00444f0..b3f71f4 100644
--- a/NetEx/NetSock.h
+++ b/NetEx/NetSock.h
@@ -94,4 +94,4 @@ private:
};
-#endif NetSock_h \ No newline at end of file
+#endif // NetSock_h