sacc

sacc (saccomys): simple gopher client.
Log | Files | Refs | LICENSE

commit 6b520eb8b70b98a311a13a62606567095af28290
parent 575c12bd0606717a2e7312669decc9a8197e41bd
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue,  9 Nov 2021 00:13:45 +0100

Mark prototypes as extern in common.h

Diffstat:
Mcommon.h | 26+++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/common.h b/common.h @@ -44,19 +44,19 @@ struct dir { size_t curline; }; -extern void (*diag)(char *fmt, ...); +extern void (*diag)(char *, ...); -void die(const char *fmt, ...); -size_t mbsprint(const char *s, size_t len); +extern void die(const char *, ...); +extern size_t mbsprint(const char *, size_t); #ifdef NEED_STRCASESTR -char *strcasestr(const char *h, const char *n); +extern char *strcasestr(const char *, const char *); #endif /* NEED_STRCASESTR */ -const char *typedisplay(char t); -int itemuri(Item *, char *, size_t); -void uicleanup(void); -void uidisplay(Item *entry); -char *uiprompt(char *fmt, ...); -Item *uiselectitem(Item *entry); -void uisetup(void); -void uisigwinch(int signal); -void uistatus(char *fmt, ...); +extern const char *typedisplay(char); +extern int itemuri(Item *, char *, size_t); +extern void uicleanup(void); +extern void uidisplay(Item *); +extern char *uiprompt(char *, ...); +extern Item *uiselectitem(Item *); +extern void uisetup(void); +extern void uisigwinch(int); +extern void uistatus(char *, ...);