summaryrefslogtreecommitdiffstats
path: root/lib/libatm/cache_key.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-07-29 13:35:03 +0000
committerharti <harti@FreeBSD.org>2003-07-29 13:35:03 +0000
commit651b54f4726197de352365675e3c76551409d5d3 (patch)
tree6127c580673b53233ee74bf74702ed9dffd1e03b /lib/libatm/cache_key.c
parent7708c2e2d094277a614ab5b842d23b184a061584 (diff)
downloadFreeBSD-src-651b54f4726197de352365675e3c76551409d5d3.zip
FreeBSD-src-651b54f4726197de352365675e3c76551409d5d3.tar.gz
Use the appropriate [s]size_t type where a buffer size is meant.
Add const specifiers to constant function arguments.
Diffstat (limited to 'lib/libatm/cache_key.c')
-rw-r--r--lib/libatm/cache_key.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libatm/cache_key.c b/lib/libatm/cache_key.c
index da08df2..8e212e6 100644
--- a/lib/libatm/cache_key.c
+++ b/lib/libatm/cache_key.c
@@ -66,11 +66,7 @@ __FBSDID("$FreeBSD$");
*
*/
void
-scsp_cache_key(ap, ip, ol, op)
- Atm_addr *ap;
- struct in_addr *ip;
- int ol;
- char *op;
+scsp_cache_key(const Atm_addr *ap, const struct in_addr *ip, int ol, char *op)
{
int i, len;
char buff[32], digest[16];
OpenPOWER on IntegriCloud