shithub: orca

Download patch

ref: 76a2afc698a97a1ac16c7f0c8831e328e384bbd6
parent: 1f137b385181cb6c506055f533c8bee6691ee8a4
author: cancel <cancel@cancel.fm>
date: Sun Dec 9 17:14:37 EST 2018

Cleanup

--- a/osc_out.c
+++ b/osc_out.c
@@ -45,7 +45,7 @@
   free(dev);
 }
 
-void oosc_send_datagram(Oosc_dev* dev, char const* data, Usz size) {
+static void oosc_send_datagram(Oosc_dev* dev, char const* data, Usz size) {
   ssize_t res =
       sendto(dev->fd, data, size, 0, dev->addr->ai_addr, dev->addr->ai_addrlen);
   if (res < 0) {
--- a/osc_out.h
+++ b/osc_out.h
@@ -12,8 +12,6 @@
                                           char const* dest_addr,
                                           char const* dest_port);
 void oosc_dev_destroy(Oosc_dev* dev);
-// raw UDP datagram
-void oosc_send_datagram(Oosc_dev* dev, char const* data, Usz size);
 void oosc_send_int32s(Oosc_dev* dev, char const* osc_address, I32 const* vals,
                       Usz count);