summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/bsdsetjmp.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-17 04:48:58 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-17 04:48:58 +0000
commitba109ec5301dcd1efdc47258089f9a44a00531e4 (patch)
tree96ce5819abb3574465491cbaf1c78ed983b42482 /libc/sysdeps/linux/bfin/bsdsetjmp.c
parent895bc8cf93c75d70810106e12417963860a696d7 (diff)
restore proper comment headers as well as cut pointless includes as pointed out by Peter S. Mazinger
Diffstat (limited to 'libc/sysdeps/linux/bfin/bsdsetjmp.c')
-rw-r--r--libc/sysdeps/linux/bfin/bsdsetjmp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/bfin/bsdsetjmp.c b/libc/sysdeps/linux/bfin/bsdsetjmp.c
index 87de78a4c..7b953804c 100644
--- a/libc/sysdeps/linux/bfin/bsdsetjmp.c
+++ b/libc/sysdeps/linux/bfin/bsdsetjmp.c
@@ -1,16 +1,16 @@
-/*
- * setjmp for the Blackfin project
+/* setjmp for the Blackfin project
*
- * Copyright (C) 2003, Metrowerks
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ * Copyright (C) 2003 Metrowerks
* Based on code from Analog Devices.
*
- * This file is subject to the terms and conditions of the GNU Lesser
- * General Public License. See the file COPYING.LIB in the main
- * directory of this archive for more details.
- *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
+
#include <setjmp.h>
+#undef setjmp
+
int setjmp(jmp_buf env){
__asm__ __volatile__("[--SP] = p0;\n\t"
"p0 = r0;\n\t"