diff options
author | Toomas Soome <tsoome@me.com> | 2022-10-26 23:50:56 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2022-11-18 14:15:03 +0200 |
commit | 6c3eb1522a391079b03bb1847a6e4dc8bddf0224 (patch) | |
tree | 7c5acd361594a369b4fcbe42ce5c75c34825175c | |
parent | 4adf43b0b51d2123d4add8287f0e31facb0cbab1 (diff) | |
download | illumos-gate-6c3eb1522a391079b03bb1847a6e4dc8bddf0224.tar.gz |
15178 libmp: unused parameter
Reviewed by: Andy Stormont <andyjstormont@gmail.com>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
-rw-r--r-- | usr/src/lib/libmp/common/util.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/usr/src/lib/libmp/common/util.c b/usr/src/lib/libmp/common/util.c index 48f38d4a91..5c0b292d47 100644 --- a/usr/src/lib/libmp/common/util.c +++ b/usr/src/lib/libmp/common/util.c @@ -1,5 +1,5 @@ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ +/* All Rights Reserved */ /* @@ -7,7 +7,7 @@ * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ -/* Portions Copyright(c) 1988, Sun Microsystems Inc. */ +/* Portions Copyright(c) 1988, Sun Microsystems Inc. */ /* All Rights Reserved */ /* @@ -15,10 +15,6 @@ * All rights reserved. */ -#ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */ - -/* LINTLIBRARY */ - #include <stdio.h> #include <mp.h> #include <sys/types.h> @@ -45,10 +41,8 @@ _mp_move(MINT *a, MINT *b) } } -/* ARGSUSED */ -/* VARARGS */ short * -_mp_xalloc(int nint, char *s) +_mp_xalloc(int nint, char *s __unused) { short *i; @@ -226,7 +220,7 @@ mp_mtox(MINT *key) } else { size = -key->len; } - hex = malloc((size_t) ((size * BASEBITS + 3)) / 4 + (size ? 1 : 2)); + hex = malloc((size_t)((size * BASEBITS + 3)) / 4 + (size ? 1 : 2)); if (hex == NULL) { return (NULL); } |