libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit a7994e1f22a3cdfdc77c6ad35651d7ee36eff220
parent ab7e9805023130ef08c686998abcdd265ff10ca0
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu, 26 Dec 2019 15:25:47 +0100

Use OpenBSD style(9) for function prototypes and declarations.

Diffstat:
Mexample/example.c | 3++-
Msrc/drawchar.h | 5++---
Msrc/fonts.h | 2+-
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/example/example.c b/example/example.c @@ -1,6 +1,7 @@ #include <ansilove.h> -int main() { +int main() +{ struct ansilove_ctx ctx; struct ansilove_options options; diff --git a/src/drawchar.h b/src/drawchar.h @@ -16,8 +16,7 @@ #include <gd.h> #include <sys/types.h> -void drawchar(gdImagePtr im, const uint8_t *font_data, uint32_t bits, - uint32_t height, uint32_t column, uint32_t row, - uint32_t background, uint32_t foreground, uint8_t character); +void drawchar(gdImagePtr, const uint8_t *, uint32_t, uint32_t, uint32_t, + uint32_t, uint32_t, uint32_t, uint8_t); #endif /* DRAWCHAR_H */ diff --git a/src/fonts.h b/src/fonts.h @@ -23,7 +23,7 @@ struct fontStruct { bool isAmigaFont; }; -void select_font(struct fontStruct *fontData, int font); +void select_font(struct fontStruct *, int); extern const uint8_t font_pc_80x25[4096]; extern const uint8_t font_pc_80x50[2048];