~mdw
/
fwd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use new `mLib' function annotations.
[fwd]
/
fwd.h
diff --git
a/fwd.h
b/fwd.h
index
5868fda
..
ba06144
100644
(file)
--- a/
fwd.h
+++ b/
fwd.h
@@
-87,6
+87,7
@@
#include <mLib/fdflags.h>
#include <mLib/fdpass.h>
#include <mLib/ident.h>
#include <mLib/fdflags.h>
#include <mLib/fdpass.h>
#include <mLib/ident.h>
+#include <mLib/macros.h>
#include <mLib/mdup.h>
#include <mLib/mdwopt.h>
#include <mLib/quis.h>
#include <mLib/mdup.h>
#include <mLib/mdwopt.h>
#include <mLib/quis.h>
@@
-281,7
+282,8
@@
extern const char option_text[];
* Use: Logs a connection.
*/
* Use: Logs a connection.
*/
-extern void fw_log(time_t /*t*/, const char */*fmt*/, ...);
+extern void PRINTF_LIKE(2, 3)
+ fw_log(time_t /*t*/, const char */*fmt*/, ...);
/* --- @fw_inc@, @fw_dec@ --- *
*
/* --- @fw_inc@, @fw_dec@ --- *
*
@@
-529,7
+531,8
@@
extern int token(scanner */*sc*/);
* Use: Reports an error at the current scanner location.
*/
* Use: Reports an error at the current scanner location.
*/
-extern void error(scanner */*sc*/, const char */*msg*/, ...);
+extern void PRINTF_LIKE(2, 3) NORETURN
+ error(scanner */*sc*/, const char */*msg*/, ...);
/* --- @pushback@ --- *
*
/* --- @pushback@ --- *
*