summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/gthr-posix.c
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-08-14 02:45:23 +0000
committerkan <kan@FreeBSD.org>2007-08-14 02:45:23 +0000
commitf3fdf8c00692bbca20a05f0353d84a0ddfba51f7 (patch)
tree8f096418faf236b82579082ebcdd54f9d3fc1bf6 /contrib/gcc/gthr-posix.c
parent04d2779b5cbe7185f3e841545ae4cb51bffc5acb (diff)
parentd2ff90cc580c62afb8528917c1c80ac49d9aaa01 (diff)
downloadFreeBSD-src-f3fdf8c00692bbca20a05f0353d84a0ddfba51f7.zip
FreeBSD-src-f3fdf8c00692bbca20a05f0353d84a0ddfba51f7.tar.gz
This commit was generated by cvs2svn to compensate for changes in r171825,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/gcc/gthr-posix.c')
-rw-r--r--contrib/gcc/gthr-posix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/gcc/gthr-posix.c b/contrib/gcc/gthr-posix.c
index a8922c0..e2d731a 100644
--- a/contrib/gcc/gthr-posix.c
+++ b/contrib/gcc/gthr-posix.c
@@ -1,6 +1,6 @@
/* POSIX threads dummy routines for systems without weak definitions. */
/* Compile this one with gcc. */
-/* Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
This file is part of GCC.
@@ -28,6 +28,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
#include "tconfig.h"
#include "tm.h"
+# define __gthrw_pragma(pragma) _Pragma (#pragma)
/* Define so we provide weak definitions of functions used by libobjc only. */
#define _LIBOBJC_WEAK
#include "gthr.h"
@@ -75,7 +76,7 @@ pthread_create (pthread_t *thread ATTRIBUTE_UNUSED,
}
int
-pthread_cancel(pthread_t thread ATTRIBUTE_UNUSED)
+pthread_cancel (pthread_t thread ATTRIBUTE_UNUSED)
{
return 0;
}
OpenPOWER on IntegriCloud