[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5195: cosmetics: Remove pointless (and sometimes misleading) #include comments.

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Mon, 29 Nov 2010 09:02:28 -0000

------------------------------------------------------------
revno: 5195
committer: Diego Biurrun <diego@xxxxxxxxxx>
branch nick: trunk
timestamp: Mon 2010-11-29 10:00:51 +0100
message:
  cosmetics: Remove pointless (and sometimes misleading) #include comments.
modified:
  lib/core/hit.c
  lib/core/linkedlist.c
  lib/core/straddr.c


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'lib/core/hit.c'
--- lib/core/hit.c      2010-10-19 23:21:39 +0000
+++ lib/core/hit.c      2010-11-29 09:00:51 +0000
@@ -30,11 +30,11 @@
  * @author Miika Komu <miika@xxxxxx>
  */
 
-#include <string.h>     // strcpy()
+#include <string.h>
 
-#include "debug.h"      // HIP_ASSERT()
-#include "prefix.h"     // ipv6_addr_cmp()
-#include "straddr.h"    // hip_in6_ntop()
+#include "debug.h"
+#include "prefix.h"
+#include "straddr.h"
 #include "hit.h"
 
 /**

=== modified file 'lib/core/linkedlist.c'
--- lib/core/linkedlist.c       2010-10-18 17:44:31 +0000
+++ lib/core/linkedlist.c       2010-11-29 09:00:51 +0000
@@ -31,7 +31,7 @@
  * @see     linkedlist.h for usage instructions.
  */
 
-#include <stdlib.h> /* For malloc(). */
+#include <stdlib.h>
 
 #include "debug.h"
 #include "linkedlist.h"

=== modified file 'lib/core/straddr.c'
--- lib/core/straddr.c  2010-10-19 23:18:00 +0000
+++ lib/core/straddr.c  2010-11-29 09:00:51 +0000
@@ -32,11 +32,11 @@
 
 #define _BSD_SOURCE
 
-#include <stdio.h>      // sprintf()
-#include <arpa/inet.h>  // inet_pton()
+#include <stdio.h>
+#include <arpa/inet.h>
 
-#include "debug.h"      // HIP_DEBUG()
-#include "prefix.h"     // IPV4_TO_IPV6_MAP()
+#include "debug.h"
+#include "prefix.h"
 #include "straddr.h"
 
 /**

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 5195: cosmetics: Remove pointless (and sometimes misleading) #include comments. - noreply