]> granicus.if.org Git - strace/commitdiff
2002-12-15 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@redhat.com>
Sun, 15 Dec 2002 23:58:18 +0000 (23:58 +0000)
committerRoland McGrath <roland@redhat.com>
Sun, 15 Dec 2002 23:58:18 +0000 (23:58 +0000)
* desc.c (sys_osf_select): Add missing return type.

desc.c

diff --git a/desc.c b/desc.c
index 7430feeb031ce97c465d4c51e4129f314909f518..2a07a43824862cecb4fe668d58b5c67ece93fffd 100644 (file)
--- a/desc.c
+++ b/desc.c
@@ -291,7 +291,7 @@ struct tcb *tcp;
 #ifdef F_FREESP64
                case F_FREESP64:
 #endif
-               /* Linux glibc defines SETLK64 as SETLK, 
+               /* Linux glibc defines SETLK64 as SETLK,
                   even though the kernel has different values - as does Solaris. */
 #if defined(F_SETLK64) && F_SETLK64+0!=F_SETLK
                case F_SETLK64:
@@ -540,6 +540,7 @@ struct tcb *tcp;
 }
 
 #ifdef ALPHA
+int
 sys_osf_select(tcp)
 struct tcb *tcp;
 {