summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-08-20 12:53:36 +0000
committerkris <kris@FreeBSD.org>2001-08-20 12:53:36 +0000
commit110fc843a0e59e68be1a9d8d1a4bb0bcb152872b (patch)
tree486abf1f9f616d966d1546114ba2c7eb29bb7839 /sys
parent0e618921c14332b422b10cbd97a3431372f9eec1 (diff)
downloadFreeBSD-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 'sys')
-rw-r--r--sys/netncp/ncp_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netncp/ncp_lib.h b/sys/netncp/ncp_lib.h
index d99d03f..e1fee6c 100644
--- a/sys/netncp/ncp_lib.h
+++ b/sys/netncp/ncp_lib.h
@@ -168,7 +168,7 @@ NWCCODE NWDisableTTS(NWCONN_HANDLE);
NWCCODE NWEnableTTS(NWCONN_HANDLE);
NWCCODE NWDisableFileServerLogin(NWCONN_HANDLE);
NWCCODE NWEnableFileServerLogin(NWCONN_HANDLE);
-void ncp_error(char *, int,...);
+void ncp_error(const char *, int, ...) __printf0like(1, 3);
char *ncp_printb(char *, int, const struct ncp_bitname *);
void nw_keyhash(const u_char *, const u_char *, int, u_char *);
void nw_encrypt(const u_char *, const u_char *, u_char *);
OpenPOWER on IntegriCloud