Skip to content

Commit

Permalink
macos fixes for irp
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Young <[email protected]>
  • Loading branch information
seanyoung committed Mar 24, 2024
1 parent d251d87 commit b4f751e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ libc = "0.2"
nix = { version = "0.28", features = [ "fs", "ioctl" ] }
regex = "1"
humantime = "2.1"
aya = "0.12"
bitflags = "2.3"
num-integer = "0.1"
terminal_size = "0.3"
log = "0.4"
peg = "0.8"

[target.'cfg(target_os = "linux")'.dependencies]
aya = "0.12"

[dev-dependencies]
assert_cmd = "2.0"
serde_json = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion liblircd/src/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ static int *data;
static int len;
static int leading;

int set_fake_data(int *d, int l)
void set_fake_data(int *d, int l)
{
data = d;
len = l;
Expand Down

0 comments on commit b4f751e

Please sign in to comment.