mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
1130b656e5
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
18 lines
298 B
C
18 lines
298 B
C
#if defined(LIBC_SCCS) && !defined(lint)
|
|
static char *rcsid = "$FreeBSD$";
|
|
#endif /* LIBC_SCCS and not lint */
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/ipc.h>
|
|
#include <sys/shm.h>
|
|
|
|
#if __STDC__
|
|
int shmdt(void *shmaddr)
|
|
#else
|
|
int shmdt(shmaddr)
|
|
void *shmaddr;
|
|
#endif
|
|
{
|
|
return (shmsys(2, shmaddr));
|
|
}
|