From 110fc843a0e59e68be1a9d8d1a4bb0bcb152872b Mon Sep 17 00:00:00 2001 From: kris Date: Mon, 20 Aug 2001 12:53:36 +0000 Subject: Mark some functions as __printflike() and/or taking const char * arguments instead of char *. MFC after: 2 weeks --- lib/libnetgraph/netgraph.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libnetgraph') 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 *); -- cgit v1.1