aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpowwow@askgustav.com <powwow@askgustav.com>2020-05-23 09:28:50 (GMT)
committerpowwow@askgustav.com <powwow@askgustav.com>2020-05-23 09:28:50 (GMT)
commitbc83cb4fee46ae06749225e3b05df314a3e0a4a4 (patch)
tree45190bb8d8ad767ee96bc76177723e0034408f7b
parent8f9ea7adca4916e83f329e5be3443e08387ca8f9 (diff)
downloadpowwow-bc83cb4fee46ae06749225e3b05df314a3e0a4a4.zip
powwow-bc83cb4fee46ae06749225e3b05df314a3e0a4a4.tar.gz
powwow-bc83cb4fee46ae06749225e3b05df314a3e0a4a4.tar.bz2
stop using C99 comments
-rw-r--r--src/map.c2
-rw-r--r--src/ptr.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/map.c b/src/map.c
index 7fd9b56..21671db 100644
--- a/src/map.c
+++ b/src/map.c
@@ -179,7 +179,7 @@ int map_walk(char *word, int silent, int maponly)
*buf = *word;
if (!maponly) {
if (*lookup_alias(buf))
- parse_instruction(buf, 1, 0, 0); // we want to execute aliases n,e,s,w,u,d
+ parse_instruction(buf, 1, 0, 0); /* we want to execute aliases n,e,s,w,u,d */
else tcp_write(tcp_fd, buf);
}
if (is_main || maponly)
diff --git a/src/ptr.c b/src/ptr.c
index 5878cd4..c3021b5 100644
--- a/src/ptr.c
+++ b/src/ptr.c
@@ -87,8 +87,8 @@ void _ptrdel(ptr p)
{
if (p && p->signature == PTR_SIG)
free((void *)p);
- //else
- //fprintf( stderr, "Tried to free non ptr @%x\n", p );
+ /* else */
+ /* fprintf( stderr, "Tried to free non ptr @%x\n", p ); */
}
/* clear a ptr */