summaryrefslogtreecommitdiff
path: root/libc/mach
diff options
context:
space:
mode:
Diffstat (limited to 'libc/mach')
-rw-r--r--libc/mach/Machrules5
-rw-r--r--libc/mach/Makefile5
-rw-r--r--libc/mach/devstream.c12
-rw-r--r--libc/mach/lock-intern.h5
-rw-r--r--libc/mach/mach.h5
-rw-r--r--libc/mach/mach/mach_traps.h5
-rw-r--r--libc/mach/mach/mig_support.h5
-rw-r--r--libc/mach/mach_init.c5
-rw-r--r--libc/mach/mach_init.h5
-rw-r--r--libc/mach/mig-alloc.c5
-rw-r--r--libc/mach/mig-dealloc.c5
-rw-r--r--libc/mach/mig-reply.c5
-rw-r--r--libc/mach/msgserver.c5
-rw-r--r--libc/mach/mutex-init.c5
-rw-r--r--libc/mach/mutex-solid.c5
-rw-r--r--libc/mach/setup-thread.c5
-rw-r--r--libc/mach/spin-lock.h5
-rw-r--r--libc/mach/spin-solid.c5
18 files changed, 37 insertions, 60 deletions
diff --git a/libc/mach/Machrules b/libc/mach/Machrules
index 37693aec4..d211bce05 100644
--- a/libc/mach/Machrules
+++ b/libc/mach/Machrules
@@ -14,9 +14,8 @@
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
-# License along with the GNU C Library; if not, write to the Free
-# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307 USA.
+# License along with the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
# Makefiles may define these variable before including this file:
# user-interfaces Names of interfaces to put user stubs in for.
diff --git a/libc/mach/Makefile b/libc/mach/Makefile
index 314f2efcd..ec33fa72d 100644
--- a/libc/mach/Makefile
+++ b/libc/mach/Makefile
@@ -13,9 +13,8 @@
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
-# License along with the GNU C Library; if not, write to the Free
-# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307 USA.
+# License along with the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
subdir := mach
diff --git a/libc/mach/devstream.c b/libc/mach/devstream.c
index ebc4b9329..0f515c292 100644
--- a/libc/mach/devstream.c
+++ b/libc/mach/devstream.c
@@ -1,6 +1,6 @@
/* stdio on a Mach device port.
Translates \n to \r\n on output, echos and translates \r to \n on input.
- Copyright (C) 1992,93,94,96,97,2000,2011 Free Software Foundation, Inc.
+ Copyright (C) 1992-2012 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
@@ -14,9 +14,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <stdio.h>
#include <mach.h>
@@ -120,11 +119,6 @@ dealloc_ref (void *cookie)
return 0;
}
-#define cookie_io_functions_t __io_functions
-#define write __write
-#define read __read
-#define close __close
-
FILE *
mach_open_devstream (mach_port_t dev, const char *mode)
{
diff --git a/libc/mach/lock-intern.h b/libc/mach/lock-intern.h
index 4aaaedc1c..7c137d9d4 100644
--- a/libc/mach/lock-intern.h
+++ b/libc/mach/lock-intern.h
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#ifndef _LOCK_INTERN_H
#define _LOCK_INTERN_H
diff --git a/libc/mach/mach.h b/libc/mach/mach.h
index f8fd44bb0..622db97af 100644
--- a/libc/mach/mach.h
+++ b/libc/mach/mach.h
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#ifndef _MACH_H
diff --git a/libc/mach/mach/mach_traps.h b/libc/mach/mach/mach_traps.h
index 2d97baa88..29ebbe9ba 100644
--- a/libc/mach/mach/mach_traps.h
+++ b/libc/mach/mach/mach_traps.h
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* Declare the few Mach system calls (except mach_msg, in <mach/message.h>).
This does not include the kernel RPC shortcut calls (in <mach-shortcuts.h>).
diff --git a/libc/mach/mach/mig_support.h b/libc/mach/mach/mig_support.h
index f02e8d4f8..84838be26 100644
--- a/libc/mach/mach/mig_support.h
+++ b/libc/mach/mach/mig_support.h
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* Useful declarations and support functions for MiG-generated stubs. */
diff --git a/libc/mach/mach_init.c b/libc/mach/mach_init.c
index 552d2685f..6e69f1283 100644
--- a/libc/mach/mach_init.c
+++ b/libc/mach/mach_init.c
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <mach.h>
#include <mach/mig_support.h>
diff --git a/libc/mach/mach_init.h b/libc/mach/mach_init.h
index 38823d418..5b015a638 100644
--- a/libc/mach/mach_init.h
+++ b/libc/mach/mach_init.h
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#ifndef _MACH_INIT_H
diff --git a/libc/mach/mig-alloc.c b/libc/mach/mig-alloc.c
index 7324c659b..ec465a1cc 100644
--- a/libc/mach/mig-alloc.c
+++ b/libc/mach/mig-alloc.c
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <mach.h>
diff --git a/libc/mach/mig-dealloc.c b/libc/mach/mig-dealloc.c
index 99c990636..635db5ab7 100644
--- a/libc/mach/mig-dealloc.c
+++ b/libc/mach/mig-dealloc.c
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <mach.h>
diff --git a/libc/mach/mig-reply.c b/libc/mach/mig-reply.c
index 3b0202885..3bfd9c16f 100644
--- a/libc/mach/mig-reply.c
+++ b/libc/mach/mig-reply.c
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <mach.h>
diff --git a/libc/mach/msgserver.c b/libc/mach/msgserver.c
index 9478ae191..915a08868 100644
--- a/libc/mach/msgserver.c
+++ b/libc/mach/msgserver.c
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* Based on CMU's mach_msg_server.c revision 2.4 of 91/05/14, and thus
under the following copyright. Rewritten by Roland McGrath (FSF)
diff --git a/libc/mach/mutex-init.c b/libc/mach/mutex-init.c
index 94b033249..46ec114f7 100644
--- a/libc/mach/mutex-init.c
+++ b/libc/mach/mutex-init.c
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <lock-intern.h>
#include <cthreads.h>
diff --git a/libc/mach/mutex-solid.c b/libc/mach/mutex-solid.c
index 13f911fd3..025b3914e 100644
--- a/libc/mach/mutex-solid.c
+++ b/libc/mach/mutex-solid.c
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <lock-intern.h>
#include <cthreads.h>
diff --git a/libc/mach/setup-thread.c b/libc/mach/setup-thread.c
index fecffd9f0..7d104ab05 100644
--- a/libc/mach/setup-thread.c
+++ b/libc/mach/setup-thread.c
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <mach.h>
#include <thread_state.h>
diff --git a/libc/mach/spin-lock.h b/libc/mach/spin-lock.h
index 1e9acf2c4..624ee275b 100644
--- a/libc/mach/spin-lock.h
+++ b/libc/mach/spin-lock.h
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#ifndef _SPIN_LOCK_H
#define _SPIN_LOCK_H
diff --git a/libc/mach/spin-solid.c b/libc/mach/spin-solid.c
index 3e3fbd4db..0bd0a5035 100644
--- a/libc/mach/spin-solid.c
+++ b/libc/mach/spin-solid.c
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <spin-lock.h>
#include <mach/mach_traps.h>