Mark prototypes as extern in common.h - sacc - sacc(omys), simple console gopher client
HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR LICENSE
---
DIR commit 6b520eb8b70b98a311a13a62606567095af28290
DIR parent 575c12bd0606717a2e7312669decc9a8197e41bd
HTML Author: Quentin Rameau <quinq@fifth.space>
Date: Tue, 9 Nov 2021 00:13:45 +0100
Mark prototypes as extern in common.h
Diffstat:
M common.h | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
---
DIR 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 *, ...);