[beast/devel: 62/77] SFI: remove useless birnet macros



commit 75e5416b3e1698319e04d6de5cf68b599e646636
Author: Tim Janik <timj gnu org>
Date:   Sun Apr 14 18:34:32 2013 +0200

    SFI: remove useless birnet macros

 sfi/sfiwrapper.hh |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sfi/sfiwrapper.hh b/sfi/sfiwrapper.hh
index 4c5fe7f..59506c4 100644
--- a/sfi/sfiwrapper.hh
+++ b/sfi/sfiwrapper.hh
@@ -52,7 +52,9 @@ typedef BirnetInt32   int32;
 typedef BirnetInt64   int64;
 typedef BirnetUnichar unichar;
 #endif
-BIRNET_EXTERN_C_BEGIN();
+
+extern "C" {
+
 /* --- initialization --- */
 typedef struct
 {
@@ -85,6 +87,7 @@ bool sfi_url_test_show_with_cookie    (const char           *url,
                                         const char           *url_title,
                                         const char           *cookie);
 
-BIRNET_EXTERN_C_END();
+} // "C"
+
 #endif /* __SFI_WRAPPER_H__ */
 /* vim:set ts=8 sts=2 sw=2: */


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