summaryrefslogtreecommitdiff
path: root/minilib
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-24 21:04:39 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-24 21:04:39 +0200
commitc51c57d8533f03799dfbb5a3cc046919ae0bf79d (patch)
treec1d075a21e4174d421aace9c440adb22dcd6e5d6 /minilib
parente7df29252e566e254e9f252d3d3cdce80b8376a7 (diff)
downloadcompilertests-c51c57d8533f03799dfbb5a3cc046919ae0bf79d.tar.gz
compilertests-c51c57d8533f03799dfbb5a3cc046919ae0bf79d.tar.bz2
fixed a comment in strreverse
Diffstat (limited to 'minilib')
-rw-r--r--minilib/stdlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minilib/stdlib.c b/minilib/stdlib.c
index 53ae0df..b6499a4 100644
--- a/minilib/stdlib.c
+++ b/minilib/stdlib.c
@@ -8,7 +8,7 @@ static void strreverse( char *s )
char *end = s + strlen( s ) - 1;
while( s < end ) {
- // XOR swap;
+ /* XOR swap; */
*s ^= *end;
*end ^= *s;
*s ^= *end;