diff options
Diffstat (limited to 'misc/mktemp.c')
-rw-r--r-- | misc/mktemp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/mktemp.c b/misc/mktemp.c index fc82ede790..f14e10a0d3 100644 --- a/misc/mktemp.c +++ b/misc/mktemp.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2015 Free Software Foundation, Inc. +/* Copyright (C) 1998-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,8 +22,7 @@ The last six characters of TEMPLATE must be "XXXXXX"; they are replaced with a string that makes the filename unique. */ char * -__mktemp (template) - char *template; +__mktemp (char *template) { if (__gen_tempname (template, 0, 0, __GT_NOCREATE) < 0) /* We return the null string if we can't find a unique file name. */ @@ -33,4 +32,5 @@ __mktemp (template) } weak_alias (__mktemp, mktemp) -link_warning (mktemp, "the use of `mktemp' is dangerous, better use `mkstemp'") +link_warning (mktemp, "the use of `mktemp' is dangerous, " + "better use `mkstemp' or `mkdtemp'") |