gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: NEWS: Move GNUNET_s into libgnunetutil.


From: gnunet
Subject: [gnunet] branch master updated: NEWS: Move GNUNET_s into libgnunetutil.
Date: Tue, 15 Aug 2023 20:21:21 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 18d7c03a8 NEWS: Move GNUNET_s into libgnunetutil.
18d7c03a8 is described below

commit 18d7c03a819667823e7022e3260078ca7ace4df1
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Tue Aug 15 20:20:50 2023 +0200

    NEWS: Move GNUNET_s into libgnunetutil.
---
 src/include/gnunet_testing_ng_lib.h | 8 +-------
 src/include/gnunet_util_lib.h       | 9 +++++++++
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/include/gnunet_testing_ng_lib.h 
b/src/include/gnunet_testing_ng_lib.h
index aae918ff3..71d352643 100644
--- a/src/include/gnunet_testing_ng_lib.h
+++ b/src/include/gnunet_testing_ng_lib.h
@@ -31,13 +31,7 @@
 #include "gnunet_util_lib.h"
 #include "gnunet_testing_lib.h"
 
-/**
- * Stringify operator.
- *
- * @param a some expression to stringify. Must NOT be a macro.
- * @return same expression as a constant string.
- */
-#define GNUNET_S(a) #a
+
 
 /**
  * Maximum length of label in command
diff --git a/src/include/gnunet_util_lib.h b/src/include/gnunet_util_lib.h
index ada40a4ca..c8737dc60 100644
--- a/src/include/gnunet_util_lib.h
+++ b/src/include/gnunet_util_lib.h
@@ -93,6 +93,15 @@ extern "C"
 #include "gnunet_child_management_lib.h"
 #include "gnunet_error_codes.h"
 
+
+/**
+ * Stringify operator.
+ *
+ * @param a some expression to stringify. Must NOT be a macro.
+ * @return same expression as a constant string.
+ */
+#define GNUNET_S(a) #a
+
 /**
  * Try to compress the given block of data using libz.  Only returns
  * the compressed block if compression worked and the new block is

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]