From 553e6a15d4750649b4da3e8fb53e2b23a9f39da3 Mon Sep 17 00:00:00 2001 From: cgd Date: Fri, 19 Nov 1993 05:25:40 +0000 Subject: [PATCH] finish cleanup --- lib/libc/gen/shmat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc/gen/shmat.c b/lib/libc/gen/shmat.c index e383280117a2..61d7ef09ca68 100644 --- a/lib/libc/gen/shmat.c +++ b/lib/libc/gen/shmat.c @@ -1,5 +1,5 @@ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$Id: shmat.c,v 1.3 1993/11/19 03:18:24 mycroft Exp $"; +static char *rcsid = "$Id: shmat.c,v 1.4 1993/11/19 05:25:40 cgd Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -7,13 +7,13 @@ static char *rcsid = "$Id: shmat.c,v 1.3 1993/11/19 03:18:24 mycroft Exp $"; #include #if __STDC__ -int shmat(int shmid, void *shmaddr, int shmflg) +void *shmat(int shmid, void *shmaddr, int shmflg) #else -int shmat(shmid, shmaddr, shmflg) +void *shmat(shmid, shmaddr, shmflg) int shmid; void *shmaddr; int shmflg; #endif { - return (shmsys(0, shmid, shmaddr, shmflg)); + return ((void *) shmsys(0, shmid, shmaddr, shmflg)); }