diff options
author | ed <ed@FreeBSD.org> | 2011-10-16 08:44:03 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-10-16 08:44:03 +0000 |
commit | 21414c51c1779ae2de004f9affc281fa3a30fa81 (patch) | |
tree | 410d0d59f9705b5368a58e9324ed9501b858daab /sys/netncp | |
parent | 50100c914ebda5f60c1e9e20316d1a705beff2b6 (diff) | |
download | FreeBSD-src-21414c51c1779ae2de004f9affc281fa3a30fa81.zip FreeBSD-src-21414c51c1779ae2de004f9affc281fa3a30fa81.tar.gz |
Change ncp_scan_bindery_object() to pass a constant search string.
The ncp_scan_bindery_object() function does not modify search_string
internally, so there is no need to declare it as `char *'.
Diffstat (limited to 'sys/netncp')
-rw-r--r-- | sys/netncp/ncp_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netncp/ncp_lib.h b/sys/netncp/ncp_lib.h index 2e8eebe..275b53b 100644 --- a/sys/netncp/ncp_lib.h +++ b/sys/netncp/ncp_lib.h @@ -174,7 +174,7 @@ int ncp_get_bindery_object_id(NWCONN_HANDLE, u_int16_t, const char *, int ncp_get_bindery_object_name(NWCONN_HANDLE, u_int32_t, struct ncp_bindery_object *); int ncp_scan_bindery_object(NWCONN_HANDLE, u_int32_t, u_int16_t, - char *, struct ncp_bindery_object *); + const char *, struct ncp_bindery_object *); int ncp_read_property_value(NWCONN_HANDLE, int object_type, const char *, int, const char *, struct nw_property *); int ncp_get_encryption_key(NWCONN_HANDLE, char *); |