summaryrefslogtreecommitdiff
path: root/comms/lirc/patches/patch-daemons_transmit.h
diff options
context:
space:
mode:
Diffstat (limited to 'comms/lirc/patches/patch-daemons_transmit.h')
-rw-r--r--comms/lirc/patches/patch-daemons_transmit.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/comms/lirc/patches/patch-daemons_transmit.h b/comms/lirc/patches/patch-daemons_transmit.h
new file mode 100644
index 00000000000..cc078a74e6a
--- /dev/null
+++ b/comms/lirc/patches/patch-daemons_transmit.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-daemons_transmit.h,v 1.1 2016/05/02 02:32:14 dholland Exp $
+
+Patch up gcc inline mess.
+
+--- daemons/transmit.h~ 2011-03-25 22:28:18.000000000 +0000
++++ daemons/transmit.h
+@@ -29,7 +29,7 @@ struct sbuf {
+ };
+
+ void init_send_buffer(void);
+-inline void set_bit(ir_code * code, int bit, int data);
++void set_bit(ir_code * code, int bit, int data);
+ int init_send(struct ir_remote *remote, struct ir_ncode *code);
+ int init_sim(struct ir_remote *remote, struct ir_ncode *code, int repeat_preset);
+