We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23dc485 commit 8cc1c0fCopy full SHA for 8cc1c0f
1 file changed
sys/amd64/amd64/trap.c
@@ -319,10 +319,12 @@ trap_check_intr_kernel(struct thread *td, struct trapframe *frame)
319
/*
320
* Table of handlers for various segment load faults.
321
*/
322
-static const struct {
+struct sfhandler {
323
uintptr_t faddr;
324
uintptr_t fhandler;
325
-} sfhandlers[] = {
+};
326
+
327
+static const struct sfhandler sfhandlers[] = {
328
{
329
.faddr = (uintptr_t)ld_ds,
330
.fhandler = (uintptr_t)ds_load_fault,
0 commit comments