These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Keep those.
Sponsored by: Netflix
Differential D42385 Authored by imp on Oct 27 2023, 10:42 PM.
Tags None Referenced Files
Details Summary These sys/cdefs.h are not needed. Purge them. They are mostly left-over Sponsored by: Netflix
Diff Detail
Event TimelineHerald added a reviewer: andrew. · View Herald TranscriptOct 27 2023, 10:42 PM2023-10-27 22:42:31 (UTC+0) Harbormaster completed remote builds in B54193: Diff 129470.Oct 27 2023, 10:42 PM2023-10-27 22:42:35 (UTC+0) Comment Actions applied to my local tree I see: --- i386_get_ldt.o --- In file included from /tmp/cirrus-ci-build/lib/libc/i386/sys/i386_get_ldt.c:31: In file included from /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sysroot/usr/include/machine/segments.h:39: In file included from /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sysroot/usr/include/i386/segments.h:46: /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sysroot/usr/include/x86/segments.h:88:3: error: redefinition of '__packed' with a different type: 'struct user_segment_descriptor' vs 'struct segment_descriptor' } __packed; ^ /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sysroot/usr/include/x86/segments.h:74:3: note: previous definition is here } __packed; ^ /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sysroot/usr/include/x86/segments.h:110:3: error: redefinition of '__packed' with a different type: 'struct gate_descriptor' vs 'struct segment_descriptor' } __packed; ^ /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sysroot/usr/include/x86/segments.h:74:3: note: previous definition is here } __packed; ^ In file included from /tmp/cirrus-ci-build/lib/libc/i386/sys/i386_get_ldt.c:31: In file included from /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sysroot/usr/include/machine/segments.h:39: /usr/obj/tmp/cirrus-ci-build/amd64.amd64/sysroot/usr/include/i386/segments.h:71:21: error: expected ';' at end of declaration list unsigned rd_base:32 __packed; /* base address */ ^ This revision now requires changes to proceed.Oct 30 2023, 12:51 AM2023-10-30 00:51:18 (UTC+0) This revision was not accepted when it landed; it landed in state Needs Revision.Nov 29 2023, 5:16 PM2023-11-29 17:16:24 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 129470 |