Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A little patch for .c files to compile in FreeBSD 13 #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.o
.h
.ko
x86/
2 changes: 1 addition & 1 deletion acpi_video_dell/acpi_video_dell.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ __FBSDID("$FreeBSD: releng/11.0/sys/dev/acpica/acpi_video_dell.c 295939 2016-02-
#include <sys/power.h>
#include <sys/queue.h>
#include <sys/sysctl.h>

#include <sys/eventhandler.h>
#include <contrib/dev/acpica/include/acpi.h>

#include <dev/acpica/acpivar.h>
Expand Down
8 changes: 4 additions & 4 deletions kbdmxe/kbdmxe.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
#include <sys/proc.h>
#include <sys/queue.h>
#include <sys/selinfo.h>
#include <sys/types.h>
#include <sys/systm.h>
#include <sys/taskqueue.h>
#include <sys/uio.h>
#include <dev/kbd/kbdreg.h>

/* the initial key map, accent map and fkey strings */
#ifdef KBDMXE_DFLT_KEYMAP
#define KBD_DFLT_KEYMAP
Expand Down Expand Up @@ -136,7 +136,7 @@ struct kbdmxe_kbd
};

typedef struct kbdmxe_kbd kbdmxe_kbd_t;

typedef void timeout_t (void *);
/*
* kbdmxe state
*/
Expand Down Expand Up @@ -369,9 +369,9 @@ static keyboard_switch_t kbdmxesw = {
.clear_state = kbdmxe_clear_state,
.get_state = kbdmxe_get_state,
.set_state = kbdmxe_set_state,
.get_fkeystr = genkbd_get_fkeystr,
.get_fkeystr = kbdd_get_fkeystr,
.poll = kbdmxe_poll,
.diag = genkbd_diag,
.diag = kbdd_diag,
};

/*
Expand Down