summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 05:05:55 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 05:05:55 +0100
commit02856414d220a5a4cb8d196de490698dd0cc0c70 (patch)
tree64f0a3d47848a5f00b462a1be5ea232164ae2a49 /examples
parent944dafbf0ab104fabad8da471d947f2da8584e15 (diff)
lib: restructure stdx headers and rename to opt, relocate example
Move stdx.hpp into a stdx/ subdirectory and rename to opt.hpp, reflecting its specific purpose. Rename stdx.cc to opt.cc accordingly. Update includes in both the library and examples to reflect the new path. Also move must_pass.cc and its CMake config into examples/must_pass/ for better organization and consistency. No functional changes made. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/must_pass/CMakeLists.txt (renamed from examples/CMakeLists.txt)0
-rw-r--r--examples/must_pass/must_pass.cc (renamed from examples/must_pass.cc)2
2 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/must_pass/CMakeLists.txt
index 0075ad5..0075ad5 100644
--- a/examples/CMakeLists.txt
+++ b/examples/must_pass/CMakeLists.txt
diff --git a/examples/must_pass.cc b/examples/must_pass/must_pass.cc
index 377f8bb..a86cd14 100644
--- a/examples/must_pass.cc
+++ b/examples/must_pass/must_pass.cc
@@ -4,7 +4,7 @@
licensed under GPL-2 license
*/
-#include <stdx.hpp>
+#include <stdx/opt.hpp>
#include <string>
static const char do_hash(const std::string& in)