Fossil SCM

Unconditionally include ctype.h in the mkbuiltin.c utility program.

drh 2019-01-02 15:24 trunk
Commit 9c604490b3dfa08ce00c13664c40f7629c417bd441289d71ff95e623441631e7
1 file changed +1 -4
+1 -4
--- src/mkbuiltin.c
+++ src/mkbuiltin.c
@@ -25,14 +25,11 @@
2525
** arrays in the resulting executable.
2626
*/
2727
#include <stdio.h>
2828
#include <stdlib.h>
2929
#include <string.h>
30
-#if defined(__NetBSD__) || defined(__FreeBSD__)
31
-#include <ctype.h> /* isspace() */
32
-#endif
33
-
30
+#include <ctype.h>
3431
3532
/*
3633
** Read the entire content of the file named zFilename into memory obtained
3734
** from malloc() and return a pointer to that memory. Write the size of the
3835
** file into *pnByte.
3936
--- src/mkbuiltin.c
+++ src/mkbuiltin.c
@@ -25,14 +25,11 @@
25 ** arrays in the resulting executable.
26 */
27 #include <stdio.h>
28 #include <stdlib.h>
29 #include <string.h>
30 #if defined(__NetBSD__) || defined(__FreeBSD__)
31 #include <ctype.h> /* isspace() */
32 #endif
33
34
35 /*
36 ** Read the entire content of the file named zFilename into memory obtained
37 ** from malloc() and return a pointer to that memory. Write the size of the
38 ** file into *pnByte.
39
--- src/mkbuiltin.c
+++ src/mkbuiltin.c
@@ -25,14 +25,11 @@
25 ** arrays in the resulting executable.
26 */
27 #include <stdio.h>
28 #include <stdlib.h>
29 #include <string.h>
30 #include <ctype.h>
 
 
 
31
32 /*
33 ** Read the entire content of the file named zFilename into memory obtained
34 ** from malloc() and return a pointer to that memory. Write the size of the
35 ** file into *pnByte.
36

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button