ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 3f0fa8a3480a6e4cc2eb0e98b80d70be105f6a6b
parent 240e3b00deeda06617af0f7fde820241ff874f6a
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Tue,  9 Jun 2015 00:04:06 +0200

Removing 'Foundation.h' imports

Diffstat:
Mansilove/albinfonts.c | 4----
Mansilove/albinfonts.h | 4----
Mansilove/ansilove.c | 4----
Mansilove/ansilove.h | 11-----------
Mansilove/explode.c | 4----
Mansilove/explode.h | 4----
Mansilove/filesize.c | 4----
Mansilove/filesize.h | 4----
Mansilove/main.c | 8--------
Mansilove/strtolower.c | 4----
Mansilove/strtolower.h | 4----
Mansilove/substr.c | 4----
Mansilove/substr.h | 4----
13 files changed, 0 insertions(+), 63 deletions(-)

diff --git a/ansilove/albinfonts.c b/ansilove/albinfonts.c @@ -9,11 +9,7 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import "albinfonts.h" -#else #include "albinfonts.h" -#endif const unsigned char font_pc_80x25[4096] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/ansilove/albinfonts.h b/ansilove/albinfonts.h @@ -9,13 +9,9 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import <Foundation/Foundation.h> -#else #include <stdio.h> #include <stdlib.h> #include <string.h> -#endif #ifndef albinfonts_h #define albinfonts_h diff --git a/ansilove/ansilove.c b/ansilove/ansilove.c @@ -9,11 +9,7 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import "ansilove.h" -#else #include "ansilove.h" -#endif // shared method for drawing characters void alDrawChar(gdImagePtr im, const unsigned char *font_data, int32_t int_bits, diff --git a/ansilove/ansilove.h b/ansilove/ansilove.h @@ -9,16 +9,6 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import <Foundation/Foundation.h> -#import <gd.h> -#import "alconfig.h" -#import "albinfonts.h" -#import "strtolower.h" -#import "substr.h" -#import "explode.h" -#import "filesize.h" -#else #include <stdio.h> #include <stdlib.h> #include <stdbool.h> @@ -29,7 +19,6 @@ #include "substr.h" #include "explode.h" #include "filesize.h" -#endif #ifndef ansilove_h #define ansilove_h diff --git a/ansilove/explode.c b/ansilove/explode.c @@ -9,11 +9,7 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import "explode.h" -#else #include "explode.h" -#endif int32_t explode(char ***arr_ptr, char delimiter, char *str) { diff --git a/ansilove/explode.h b/ansilove/explode.h @@ -9,13 +9,9 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import <Foundation/Foundation.h> -#else #include <stdio.h> #include <stdlib.h> #include <string.h> -#endif #ifndef explode_h #define explode_h diff --git a/ansilove/filesize.c b/ansilove/filesize.c @@ -9,11 +9,7 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import "filesize.h" -#else #include "filesize.h" -#endif size_t filesize(char *filepath) { diff --git a/ansilove/filesize.h b/ansilove/filesize.h @@ -9,12 +9,8 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import <Foundation/Foundation.h> -#else #include <stdio.h> #include <stdlib.h> -#endif #ifndef filesize_h #define filesize_h diff --git a/ansilove/main.c b/ansilove/main.c @@ -9,13 +9,6 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import <Foundation/Foundation.h> -#import "alconfig.h" -#import "strtolower.h" -#import "substr.h" -#import "ansilove.h" -#else #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -24,7 +17,6 @@ #include "strtolower.h" #include "substr.h" #include "ansilove.h" -#endif // prototypes void showHelp(void); diff --git a/ansilove/strtolower.c b/ansilove/strtolower.c @@ -9,11 +9,7 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import "strtolower.h" -#else #include "strtolower.h" -#endif char *strtolower(char *str) { diff --git a/ansilove/strtolower.h b/ansilove/strtolower.h @@ -9,13 +9,9 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import <Foundation/Foundation.h> -#else #include <stdio.h> #include <stdlib.h> #include <ctype.h> -#endif #ifndef strtolower_h #define strtolower_h diff --git a/ansilove/substr.c b/ansilove/substr.c @@ -9,11 +9,7 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import "substr.h" -#else #include "substr.h" -#endif char *substr(char *str, size_t begin, size_t len) { diff --git a/ansilove/substr.h b/ansilove/substr.h @@ -9,13 +9,9 @@ // See the file LICENSE for details. // -#if defined(__APPLE__) && defined(__MACH__) -#import <Foundation/Foundation.h> -#else #include <stdio.h> #include <stdlib.h> #include <string.h> -#endif #ifndef substr_h #define substr_h