Subject: Function protos for shm.h funcs
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: John Brezak <brezak@ch.hp.com>
List: current-users
Date: 11/18/1993 13:41:21
I think there are some errors in the function prototypes for the shm*()
functions. Can someone with a newer SVID check this out. I changed it
like this for now to be able to build X with MIT-SHM support.
*** /usr/src/sys/sys/shm.h~ Mon Nov 15 06:17:59 1993
--- /usr/src/sys/sys/shm.h Thu Nov 18 13:18:36 1993
***************
*** 98,107 ****
__BEGIN_DECLS
int shmsys __P((int, ...));
! int shmat __P((int, caddr_t, int));
int shmget __P((key_t, int, int));
! int shmctl __P((int, int, caddr_t));
! int shmdt __P((caddr_t));
__END_DECLS
#endif
--- 98,107 ----
__BEGIN_DECLS
int shmsys __P((int, ...));
! void *shmat __P((int, void *, int));
int shmget __P((key_t, int, int));
! int shmctl __P((int, int, struct shmid_ds *));
! int shmdt __P((void *));
__END_DECLS
#endif
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Brezak UUCP: uunet!apollo.hp!brezak
Hewlett Packard/Apollo Internet: brezak@ch.hp.com
300 Apollo Drive Phone: (508) 436-4915
Chelmsford, Massachusetts Fax: (508) 436-5103
------------------------------------------------------------------------------