[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 136/335: microhttpd.h: backported formatting workaround
From: |
gnunet |
Subject: |
[libmicrohttpd] 136/335: microhttpd.h: backported formatting workaround |
Date: |
Sat, 27 Jul 2024 22:00:32 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to tag stf-m2
in repository libmicrohttpd.
commit c90340dc7642acb9fdf68fae8420299d61e7dc78
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Mon Apr 8 15:49:55 2024 +0200
microhttpd.h: backported formatting workaround
---
src/include/microhttpd.h | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 9fd2814b..813515b1 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -80,13 +80,18 @@
#ifndef MHD_MICROHTTPD_H
#define MHD_MICROHTTPD_H
-#ifdef __cplusplus
-extern "C"
-{
-#if 0 /* keep Emacsens' auto-indent happy */
-}
-#endif
-#endif
+#ifndef __cplusplus
+# define MHD_C_DECLRATIONS_START_HERE_ /* Empty */
+# define MHD_C_DECLRATIONS_FINISH_HERE_ /* Empty */
+#else /* __cplusplus */
+/* *INDENT-OFF* */
+# define MHD_C_DECLRATIONS_START_HERE_ extern "C" {
+# define MHD_C_DECLRATIONS_FINISH_HERE_ }
+/* *INDENT-ON* */
+#endif /* __cplusplus */
+
+
+MHD_C_DECLRATIONS_START_HERE_
/**
@@ -6519,11 +6524,6 @@ _MHD_EXTERN enum MHD_Result
MHD_is_feature_supported (enum MHD_FEATURE feature);
-#ifdef __cplusplus
-#if 0 /* keep Emacsens' auto-indent happy */
-{
-#endif
-}
-#endif
+MHD_C_DECLRATIONS_FINISH_HERE_
#endif
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 113/335: microhttpd2.h: fixed code style, (continued)
- [libmicrohttpd] 113/335: microhttpd2.h: fixed code style, gnunet, 2024/07/27
- [libmicrohttpd] 115/335: microhttpd2.h: fixed typos in markers, gnunet, 2024/07/27
- [libmicrohttpd] 110/335: microhttpd2.h: added generated daemon options, gnunet, 2024/07/27
- [libmicrohttpd] 117/335: microhttpd2.h: updated with generated content, gnunet, 2024/07/27
- [libmicrohttpd] 130/335: fix misc issues, largely documentation, gnunet, 2024/07/27
- [libmicrohttpd] 134/335: microhttpd2.h: regenerated daemon options, gnunet, 2024/07/27
- [libmicrohttpd] 123/335: microhttpd2.h: fixed daemon options, gnunet, 2024/07/27
- [libmicrohttpd] 124/335: Option: added missing daemon option for large memory pool, gnunet, 2024/07/27
- [libmicrohttpd] 122/335: microhttpd2.h: converted response options, gnunet, 2024/07/27
- [libmicrohttpd] 126/335: m1 report update, gnunet, 2024/07/27
- [libmicrohttpd] 136/335: microhttpd.h: backported formatting workaround,
gnunet <=
- [libmicrohttpd] 128/335: Unified Work Mode options names, gnunet, 2024/07/27
- [libmicrohttpd] 142/335: microhttpd2.h: fixes for doxy reported warnings, gnunet, 2024/07/27
- [libmicrohttpd] 129/335: Updated Work Mode options in comments, gnunet, 2024/07/27
- [libmicrohttpd] 116/335: script: updated, gnunet, 2024/07/27
- [libmicrohttpd] 119/335: add example, gnunet, 2024/07/27
- [libmicrohttpd] 138/335: english fixes, gnunet, 2024/07/27
- [libmicrohttpd] 137/335: microhttpd2.h: fixed macro which had strange parsing results, gnunet, 2024/07/27
- [libmicrohttpd] 139/335: microhttpd2.h: updated and reduced the list of required system types, gnunet, 2024/07/27
- [libmicrohttpd] 131/335: Partial revert of 83205a8ab9f030408f8cb89c8cfa46196a5eef04., gnunet, 2024/07/27
- [libmicrohttpd] 133/335: Fixed name of the option parameter in the database, gnunet, 2024/07/27