aboutsummaryrefslogtreecommitdiff
path: root/src/libip
diff options
context:
space:
mode:
Diffstat (limited to 'src/libip')
-rw-r--r--src/libip/eipfmt.c6
-rw-r--r--src/libip/myipaddr.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/libip/eipfmt.c b/src/libip/eipfmt.c
index bb715451..97d153a3 100644
--- a/src/libip/eipfmt.c
+++ b/src/libip/eipfmt.c
@@ -4,10 +4,10 @@
enum
{
- Isprefix= 16,
+ Isprefix= 16
};
-// XXX: manually initialize once to placate the Sun monster
+/* XXX: manually initialize once to placate the Sun monster */
uchar prefixvals[256];
#ifdef NOTDEF
uchar prefixvals[256] =
@@ -37,7 +37,7 @@ eipfmt(Fmt *f)
ushort s;
int i, j, n, eln, eli;
- static int once = 0; // XXX: placate the Sun monster
+ static int once = 0; /* XXX: placate the Sun monster */
if(!once){
once = 1;
diff --git a/src/libip/myipaddr.c b/src/libip/myipaddr.c
index a7149ffa..bbde18f7 100644
--- a/src/libip/myipaddr.c
+++ b/src/libip/myipaddr.c
@@ -15,8 +15,8 @@ static uchar loopbackmask[IPaddrlen] = {
0xff, 0, 0, 0
};
-// find first ip addr that isn't the friggin loopback address
-// unless there are no others
+/* find first ip addr that isn't the friggin loopback address */
+/* unless there are no others */
int
myipaddr(uchar *ip, char *net)
{