aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nat/nat.c16
-rw-r--r--src/nat/upnp.c16
2 files changed, 0 insertions, 32 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c
index c7a1fd858..e725220ab 100644
--- a/src/nat/nat.c
+++ b/src/nat/nat.c
@@ -31,15 +31,6 @@
31 * 31 *
32 * @author Milan Bouchet-Valat 32 * @author Milan Bouchet-Valat
33 */ 33 */
34
35#ifdef __cplusplus
36extern "C"
37{
38#if 0 /* keep Emacsens' auto-indent happy */
39}
40#endif
41#endif
42
43#include <errno.h> 34#include <errno.h>
44#include <string.h> 35#include <string.h>
45#include <stdio.h> 36#include <stdio.h>
@@ -372,10 +363,3 @@ GNUNET_NAT_unregister (struct GNUNET_NAT_Handle *nat)
372 GNUNET_free (nat->ext_addr); 363 GNUNET_free (nat->ext_addr);
373 GNUNET_free (nat); 364 GNUNET_free (nat);
374} 365}
375
376#if 0 /* keep Emacsens' auto-indent happy */
377{
378#endif
379#ifdef __cplusplus
380}
381#endif
diff --git a/src/nat/upnp.c b/src/nat/upnp.c
index 05c774edd..62ecd7ff9 100644
--- a/src/nat/upnp.c
+++ b/src/nat/upnp.c
@@ -30,15 +30,6 @@
30 * 30 *
31 * @author Milan Bouchet-Valat 31 * @author Milan Bouchet-Valat
32 */ 32 */
33
34#ifdef __cplusplus
35extern "C"
36{
37#if 0 /* keep Emacsens' auto-indent happy */
38}
39#endif
40#endif
41
42#include <stdlib.h> 33#include <stdlib.h>
43#include <assert.h> 34#include <assert.h>
44#include <errno.h> 35#include <errno.h>
@@ -348,10 +339,3 @@ GNUNET_NAT_UPNP_pulse (GNUNET_NAT_UPNP_Handle * handle, int is_enabled,
348 339
349 return ret; 340 return ret;
350} 341}
351
352#if 0 /* keep Emacsens' auto-indent happy */
353{
354#endif
355#ifdef __cplusplus
356}
357#endif