mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 10:53:39 +01:00
ipcs: fix builds that use gcc
gcc gets annoyed by duplicate declarations Reported by: sbruno Reviewed by: sbruno
This commit is contained in:
parent
b132edb56f
commit
340bde8178
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281517
@ -55,7 +55,6 @@ struct msginfo msginfo;
|
||||
struct msqid_kernel *msqids;
|
||||
struct shminfo shminfo;
|
||||
struct shmid_kernel *shmsegs;
|
||||
void kget(int idx, void *addr, size_t size);
|
||||
|
||||
struct nlist symbols[] = {
|
||||
{ .n_name = "sema" },
|
||||
|
@ -64,8 +64,5 @@ extern struct nlist symbols[];
|
||||
extern kvm_t *kd;
|
||||
|
||||
extern struct semid_kernel *sema;
|
||||
extern struct seminfo seminfo;
|
||||
extern struct msginfo msginfo;
|
||||
extern struct msqid_kernel *msqids;
|
||||
extern struct shminfo shminfo;
|
||||
extern struct shmid_kernel *shmsegs;
|
||||
|
Loading…
Reference in New Issue
Block a user