ansilove

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

commit 16153d3d971ebfd47d8c46eabbf34fadf5f96ea1
parent 5f6eb3b72cdfa96da64f57212cc501ec19de04ab
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu, 26 Dec 2019 15:17:33 +0100

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

Diffstat:
Mcompat/pledge.c | 3++-
Msrc/sauce.h | 8++++----
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/compat/pledge.c b/compat/pledge.c @@ -1,5 +1,6 @@ int -pledge(const char *promises, const char *execpromises) { +pledge(const char *promises, const char *execpromises) +{ (void)promises; (void)execpromises; return 0; diff --git a/src/sauce.h b/src/sauce.h @@ -42,9 +42,9 @@ typedef struct { char **comment_lines; } sauce; -sauce *sauceReadFileName(char *fileName); -sauce *sauceReadFile(FILE *file); -void readRecord(FILE *file, sauce *record); -int readComments(FILE *file, char **comment_lines, int32_t comments); +sauce *sauceReadFileName(char *); +sauce *sauceReadFile(FILE *); +void readRecord(FILE *, sauce *); +int readComments(FILE *, char **, int32_t); #endif /* SAUCE_H */