X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..46d0fa38003ef0b122fea77dfaa252fa832cb5a3:/include/stg/rs_packets.h?ds=inline

diff --git a/include/stg/rs_packets.h b/include/stg/rs_packets.h
index 0c31e228..6faea525 100644
--- a/include/stg/rs_packets.h
+++ b/include/stg/rs_packets.h
@@ -19,8 +19,7 @@
  *    Author : Maxim Mamontov <faust@stargazer.dp.ua>
  */
 
-#ifndef RS_PACKETSH
-#define RS_PACKETSH
+#pragma once
 
 #define RS_MAGIC_LEN        (6)
 #define RS_PROTO_VER_LEN    (2)
@@ -36,7 +35,7 @@
 
 #include <cstdint>
 
-namespace RS
+namespace STG::RS
 {
 
 struct PACKET_HEADER
@@ -58,5 +57,3 @@ int8_t              padding[7];
 } __attribute__((__packed__)); // 992 bytes, 124 blocks
 
 } // namespace RS
-
-#endif