aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/tst-tmpnam.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-15 00:02:24 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-15 00:02:24 +0000
commitb61af6fc2ea0f305c60befc7f50b9d6aa4f0ea38 (patch)
treef0ed6cd926d61faeb19f7cf6eb2d2c78bbff0255 /stdio-common/tst-tmpnam.c
parent181a8546c8139675180f32ab87d239517263ad76 (diff)
downloadglibc-b61af6fc2ea0f305c60befc7f50b9d6aa4f0ea38.tar
glibc-b61af6fc2ea0f305c60befc7f50b9d6aa4f0ea38.tar.gz
glibc-b61af6fc2ea0f305c60befc7f50b9d6aa4f0ea38.tar.bz2
glibc-b61af6fc2ea0f305c60befc7f50b9d6aa4f0ea38.zip
Update.
1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * stdio-common/tst-tmpnam.c (main): Use void as parameter to avoid warnings about unused args. Fix comment. 1998-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/posix/tempname.c (__path_search): Correct last patch.
Diffstat (limited to 'stdio-common/tst-tmpnam.c')
-rw-r--r--stdio-common/tst-tmpnam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/tst-tmpnam.c b/stdio-common/tst-tmpnam.c
index 2a23a14149..3253575ccd 100644
--- a/stdio-common/tst-tmpnam.c
+++ b/stdio-common/tst-tmpnam.c
@@ -21,7 +21,7 @@
#include <string.h>
int
-main (int argc, char *argv[])
+main (void)
{
const char *name;
int retval = 0;
@@ -33,7 +33,7 @@ main (int argc, char *argv[])
printf ("name = %s\n", name);
- /* Make sure the name is based on the value in TMPDIR. */
+ /* Make sure the name is not based on the value in TMPDIR. */
if (strncmp (name, "/usr", 4) == 0)
{
puts ("error: `tmpnam' used TMPDIR value");