Skip to content

Commit 20e1457

Browse files
authored
update tombstone
1 parent bb4447f commit 20e1457

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Chapter23/test_trimStr.c

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// test_trim.c
22
// Chapter 23
3-
// Learn C Programming - Fundamentals of C
3+
// Learn C Programming
44
//
55
// This program tests the trimStr() and trimStrInPlace()
66
// functions.
@@ -10,12 +10,14 @@
1010
//
1111
// trimStrInPlace() (1) copies the trimmed string back to the original
1212
// string using same pointer and (2) returns length of the
13-
// trimmed string. THIS IS PREFERRED FUNCTION TO USE.
13+
// trimmed string.
14+
// THIS IS PREFERRED FUNCTION TO USE.
1415
//
1516
// Compile with:
1617
//
1718
// cc test_trim.c -o test_trim -Wall -Werror -std=c11
1819
//
20+
1921
#include <stdio.h>
2022
#include <ctype.h>
2123
#include <string.h>
@@ -130,3 +132,5 @@ void testTrim( int testNum , char* pString )
130132
len = trimStrInPlace( testString );
131133
fprintf( stderr , " trimStr2: \"%s\" [len:%d]\n\n" , testString , (int)len ) ;
132134
}
135+
136+
// eof

0 commit comments

Comments
 (0)