Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-03-13 23:49:42 +0300
committerCorinna Vinschen <corinna@vinschen.de>2009-03-13 23:49:42 +0300
commitad2c5ad9d28f92e498531eecfab0a4ac679a918b (patch)
treecf0fe17c6706c095fb1487f7f835cd3be32447a9 /winsup/cygwin/mktemp.cc
parent8c0b8bc35268bb48a812ad24f35c535577c4f9d4 (diff)
* mktemp.cc: Remove STABS specific link-time warning. Align copyright
text to upstream.
Diffstat (limited to 'winsup/cygwin/mktemp.cc')
-rw-r--r--winsup/cygwin/mktemp.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/winsup/cygwin/mktemp.cc b/winsup/cygwin/mktemp.cc
index 4b73753b8..c39fe49be 100644
--- a/winsup/cygwin/mktemp.cc
+++ b/winsup/cygwin/mktemp.cc
@@ -9,11 +9,6 @@ See the copyright at the bottom of this file. */
#include <fcntl.h>
#include <unistd.h>
-#define link_warning(symbol, msg) \
- asm (".stabs \"" msg "\",30,0,0,0\n\t" \
- ".stabs \"_" #symbol "\",1,0,0,0\n");
-
-
static int _gettemp(char *, int *, int);
static uint32_t arc4random ();
@@ -33,9 +28,6 @@ mkdtemp(char *path)
return _gettemp(path, NULL, 1) ? path : NULL;
}
-link_warning (mktemp, "the use of `mktemp' is dangerous, better use `mkstemp'")
-link_warning (_imp__mktemp, "the use of `mktemp' is dangerous, better use `mkstemp'")
-
extern "C" char *
mktemp(char *path)
{
@@ -158,10 +150,6 @@ arc4random ()
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
-* 3. All advertising materials mentioning features or use of this software
-* must display the following acknowledgement:
-* This product includes software developed by the University of
-* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.