Skip to content

Commit 4403d61

Browse files
authored
Merge pull request #4 from KageKirin/b-small-fixes-for-single-header
small fixes for single header
2 parents e37118f + 69069ba commit 4403d61

File tree

7 files changed

+22
-14
lines changed

7 files changed

+22
-14
lines changed

cpp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@
3333
* In general, definitions in this file should not be changed.
3434
*/
3535

36+
#include <stdio.h>
3637
#include <stdlib.h>
3738
#include <string.h>
39+
3840
#ifndef fpp_toupper
3941
#define fpp_toupper(c) ((c) + ('A' - 'a'))
4042
#endif /* no fpp_toupper */

cpp1.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ SOFTWARE.
2222

2323
#include <stdio.h>
2424
#include <ctype.h>
25+
2526
#include "cppdef.h"
2627
#include "cpp.h"
2728

2829
#if defined(AMIGA)
29-
#include <dos.h>
30+
#include <dos.h>
3031
#if defined(SHARED)
3132
int _OSERR=0;
3233
char *_ProgramName="junk";

cpp2.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1919
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2020
SOFTWARE.
2121
******************************************************************************/
22-
#include <stdio.h>
23-
#include <ctype.h>
24-
#include "cppdef.h"
25-
#include "cpp.h"
22+
#include <stdio.h>
23+
#include <ctype.h>
24+
25+
#include "cppdef.h"
26+
#include "cpp.h"
2627

2728
#ifdef _AMIGA
2829
#include <proto/dos.h>

cpp3.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1919
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2020
SOFTWARE.
2121
******************************************************************************/
22-
#include <stdio.h>
23-
#include <ctype.h>
24-
#include <time.h> /*OIS*0.92*/
25-
#include "cppdef.h"
26-
#include "cpp.h"
22+
#include <stdio.h>
23+
#include <ctype.h>
24+
#include <time.h> /*OIS*0.92*/
25+
26+
#include "cppdef.h"
27+
#include "cpp.h"
2728

2829
ReturnCode fpp_openfile(struct Global *global, char *filename)
2930
{

cpp4.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1919
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2020
SOFTWARE.
2121
******************************************************************************/
22-
#include <stdio.h>
23-
#include <ctype.h>
24-
#include "cppdef.h"
25-
#include "cpp.h"
22+
#include <stdio.h>
23+
#include <ctype.h>
24+
25+
#include "cppdef.h"
26+
#include "cpp.h"
2627

2728
INLINE FILE_LOCAL ReturnCode fpp_checkparm(struct Global *, int, DEFBUF *, int);
2829
INLINE FILE_LOCAL ReturnCode fpp_stparmscan(struct Global *, int);

cpp5.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ SOFTWARE.
2121
******************************************************************************/
2222
#include <stdio.h>
2323
#include <ctype.h>
24+
2425
#include "cppdef.h"
2526
#include "cpp.h"
2627

cpp6.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ SOFTWARE.
2121
******************************************************************************/
2222
#include <stdio.h>
2323
#include <ctype.h>
24+
2425
#include "cppdef.h"
2526
#include "cpp.h"
2627

0 commit comments

Comments
 (0)