aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-07 04:05:30 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-07 04:05:30 +0200
commit1305976d458a92d7aa3b5ff456a9b1e7b49c8468 (patch)
treea91885b04c770b0c23f9ec5ee0f1607a22ac791d
parent290a499b3ac03cd241255880e3176d2656741ca1 (diff)
downloadarching-kaos-tools-1305976d458a92d7aa3b5ff456a9b1e7b49c8468.tar.gz
arching-kaos-tools-1305976d458a92d7aa3b5ff456a9b1e7b49c8468.tar.bz2
arching-kaos-tools-1305976d458a92d7aa3b5ff456a9b1e7b49c8468.zip
New C attempt: ak-settings
-rw-r--r--src/aksettings.c8
-rw-r--r--src/include/aksettings.h6
-rw-r--r--src/tests/test_aksettings.c7
3 files changed, 21 insertions, 0 deletions
diff --git a/src/aksettings.c b/src/aksettings.c
new file mode 100644
index 0000000..6107a01
--- /dev/null
+++ b/src/aksettings.c
@@ -0,0 +1,8 @@
+#include <aksettings.h>
+#include <stdio.h>
+
+int ak_settings()
+{
+ printf("Testing: %s\n", __func__);
+ return 0;
+}
diff --git a/src/include/aksettings.h b/src/include/aksettings.h
new file mode 100644
index 0000000..9dc1f8f
--- /dev/null
+++ b/src/include/aksettings.h
@@ -0,0 +1,6 @@
+#ifndef AK_SETTINGS_H
+#define AK_SETTINGS_H
+
+int ak_settings();
+
+#endif // AK_SETTINGS_H
diff --git a/src/tests/test_aksettings.c b/src/tests/test_aksettings.c
new file mode 100644
index 0000000..5b7d71e
--- /dev/null
+++ b/src/tests/test_aksettings.c
@@ -0,0 +1,7 @@
+#include <aksettings.h>
+
+int main()
+{
+ ak_settings();
+ return 0;
+}