From 73c811263c067c4cb767cdd2b15e66e993880e5e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 5 Jul 2006 18:53:34 +0000 Subject: fixup my copyright notice, trim stale remnants of older notices which I had clearly run search/replace on that were cluttering things up. --- libc/sysdeps/linux/sh/pipe.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'libc/sysdeps/linux/sh') diff --git a/libc/sysdeps/linux/sh/pipe.c b/libc/sysdeps/linux/sh/pipe.c index e4cc0080d..167db8903 100644 --- a/libc/sysdeps/linux/sh/pipe.c +++ b/libc/sysdeps/linux/sh/pipe.c @@ -1,4 +1,7 @@ +/* vi: set sw=4 ts=4: */ /* + * pipe syscall for uClibc sh + * * Copyright (C) 2001 Lineo, * Copyright (C) 2000-2006 Erik Andersen * @@ -15,15 +18,15 @@ int pipe(int *fd) { long __res, __res2; __asm__ __volatile__ ( - "mov %2, r3;" - "mov %3, r4;" - "trapa #0x13;" - "mov r1, %1;" - : "=z" (__res), - "=r" ((long) __res2) - : "r" ((long) __NR_pipe), - "r" ((long) fd) - : "cc", "memory", "r1", "r3", "r4"); + "mov %2, r3;" + "mov %3, r4;" + "trapa #0x13;" + "mov r1, %1;" + : "=z" (__res), + "=r" ((long) __res2) + : "r" ((long) __NR_pipe), + "r" ((long) fd) + : "cc", "memory", "r1", "r3", "r4"); if ((unsigned long)(__res) >= (unsigned long)(-125)) { int __err = -(__res); errno = __err; -- cgit v1.2.3