summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/stdio/tmpfile.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2022-10-04 15:15:08 +0300
committerToomas Soome <tsoome@me.com>2022-10-18 21:10:21 +0300
commit4a38094c1dd4980a3761849bfbdf92ae62c568f5 (patch)
tree17fc37758760a22a22f2d8d13509d580baeb06f7 /usr/src/lib/libc/port/stdio/tmpfile.c
parent38864087f2024637a6b7733caa7b6fd59c9383bd (diff)
downloadillumos-gate-4a38094c1dd4980a3761849bfbdf92ae62c568f5.tar.gz
15053 libc: unused parameter
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
Diffstat (limited to 'usr/src/lib/libc/port/stdio/tmpfile.c')
-rw-r--r--usr/src/lib/libc/port/stdio/tmpfile.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr/src/lib/libc/port/stdio/tmpfile.c b/usr/src/lib/libc/port/stdio/tmpfile.c
index 884a7a369a..d130b136c7 100644
--- a/usr/src/lib/libc/port/stdio/tmpfile.c
+++ b/usr/src/lib/libc/port/stdio/tmpfile.c
@@ -25,9 +25,7 @@
*/
/* Copyright (c) 1988 AT&T */
-/* All Rights Reserved */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
+/* All Rights Reserved */
/*
* tmpfile - return a pointer to an update file that can be
@@ -52,9 +50,8 @@ static mutex_t seed_lk = DEFAULTMUTEX;
#define XS "\bXXXXXX" /* a '\b' character is prepended to this */
/* string to avoid conflicts with names */
/* generated by tmpnam() */
-/*ARGSUSED*/
static FILE *
-_common(boolean_t large_file)
+_common(boolean_t large_file __unused)
{
char tfname[L_tmpnam];
FILE *p;