From 9588df7076a7dd818abac203afb5819d89e4b962 Mon Sep 17 00:00:00 2001
From: "Constantin P." <papizh.konstantin@demlabs.net>
Date: Mon, 7 Oct 2024 16:02:10 +0700
Subject: [PATCH] ...

---
 cellframe-sdk            |  2 +-
 dap-sdk                  |  2 +-
 sources/cellframe-node.c | 28 +++++++++++++---------------
 3 files changed, 15 insertions(+), 17 deletions(-)

diff --git a/cellframe-sdk b/cellframe-sdk
index e79d51990..afab14ca1 160000
--- a/cellframe-sdk
+++ b/cellframe-sdk
@@ -1 +1 @@
-Subproject commit e79d51990e85a470b2bed6783c246d569682281e
+Subproject commit afab14ca1306587aec29ecf03e8d808932c4d7e8
diff --git a/dap-sdk b/dap-sdk
index 9dcfc3fb3..39daa66fb 160000
--- a/dap-sdk
+++ b/dap-sdk
@@ -1 +1 @@
-Subproject commit 9dcfc3fb330cb79e55c3753c23e5b41e6d8be294
+Subproject commit 39daa66fbe8cebb7aa87a0abe149239a54465524
diff --git a/sources/cellframe-node.c b/sources/cellframe-node.c
index 9f1ca5368..0a37adbc5 100755
--- a/sources/cellframe-node.c
+++ b/sources/cellframe-node.c
@@ -126,17 +126,27 @@
 
 #define MEMPOOL_URL "/mempool"
 #define MAIN_URL "/"
-
+const char *dap_node_version();
 static int s_proc_running_check(const char *a_path);
 
-extern int errno;
-
 #ifdef DAP_OS_ANDROID
 #include "dap_app_cli.h"
 #include <android/log.h>
 #include <jni.h>
 #endif
 
+#ifndef BUILD_HASH
+#define BUILD_HASH "0000000" // 0000000 means uninitialized
+#endif
+
+#ifndef BUILD_TS
+#define BUILD_TS "undefined"
+#endif
+
+const char *dap_node_version() {
+    return "CellframeNode, " DAP_VERSION ", " BUILD_TS ", " BUILD_HASH;
+}
+
 void set_global_sys_dir(const char *dir)
 {
     g_sys_dir_path = dap_strdup(dir);
@@ -617,16 +627,4 @@ int s_proc_running_check(const char *a_path) {
     fflush(l_pidfile);
     return lockf(fileno(l_pidfile), F_TLOCK, sizeof(pid_t));
 #endif
-}
-
-#ifndef BUILD_HASH
-#define BUILD_HASH "0000000" // 0000000 means uninitialized
-#endif
-
-#ifndef BUILD_TS
-#define BUILD_TS "undefined"
-#endif
-
-const char *dap_node_version() {
-    return "CellframeNode, " DAP_VERSION ", " BUILD_TS ", " BUILD_HASH;
 }
\ No newline at end of file
-- 
GitLab