diff options
author | kris <kris@FreeBSD.org> | 2001-08-20 12:53:36 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-08-20 12:53:36 +0000 |
commit | 110fc843a0e59e68be1a9d8d1a4bb0bcb152872b (patch) | |
tree | 486abf1f9f616d966d1546114ba2c7eb29bb7839 /lib/libnetgraph/netgraph.h | |
parent | 0e618921c14332b422b10cbd97a3431372f9eec1 (diff) | |
download | FreeBSD-src-110fc843a0e59e68be1a9d8d1a4bb0bcb152872b.zip FreeBSD-src-110fc843a0e59e68be1a9d8d1a4bb0bcb152872b.tar.gz |
Mark some functions as __printflike() and/or taking const char * arguments
instead of char *.
MFC after: 2 weeks
Diffstat (limited to 'lib/libnetgraph/netgraph.h')
-rw-r--r-- | lib/libnetgraph/netgraph.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libnetgraph/netgraph.h b/lib/libnetgraph/netgraph.h index c5a87cb..d0f402c 100644 --- a/lib/libnetgraph/netgraph.h +++ b/lib/libnetgraph/netgraph.h @@ -48,9 +48,9 @@ __BEGIN_DECLS int NgMkSockNode(const char *, int *, int *); -int NgNameNode(int, const char *, const char *, ...); +int NgNameNode(int, const char *, const char *, ...) __printflike(3, 4); int NgSendMsg(int, const char *, int, int, const void *, size_t); -int NgSendAsciiMsg(int, const char *, const char *, ...); +int NgSendAsciiMsg(int, const char *, const char *, ...) __printflike(3, 4); int NgSendReplyMsg(int, const char *, const struct ng_mesg *, const void *, size_t); int NgRecvMsg(int, struct ng_mesg *, size_t, char *); |