about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/defaults.c12
-rw-r--r--src/uv_link_observer_t.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/defaults.c b/src/defaults.c
index f566356..1c486f8 100644
--- a/src/defaults.c
+++ b/src/defaults.c
@@ -43,15 +43,15 @@ void uv_link_default_close(uv_link_t* link, uv_link_t* source,
 }
 
 
-void uv_link_default_alloc_cb(uv_link_t* link,
-                              size_t suggested_size,
-                              uv_buf_t* buf) {
+void uv_link_default_alloc_cb_override(uv_link_t* link,
+                                       size_t suggested_size,
+                                       uv_buf_t* buf) {
   return uv_link_propagate_alloc_cb(link, suggested_size, buf);
 }
 
 
-void uv_link_default_read_cb(uv_link_t* link,
-                             ssize_t nread,
-                             const uv_buf_t* buf) {
+void uv_link_default_read_cb_override(uv_link_t* link,
+                                      ssize_t nread,
+                                      const uv_buf_t* buf) {
   return uv_link_propagate_read_cb(link, nread, buf);
 }
diff --git a/src/uv_link_observer_t.c b/src/uv_link_observer_t.c
index 7addd62..63122a6 100644
--- a/src/uv_link_observer_t.c
+++ b/src/uv_link_observer_t.c
@@ -26,7 +26,7 @@ static uv_link_methods_t uv_link_observer_methods = {
   .shutdown = uv_link_default_shutdown,
   .close = uv_link_default_close,
 
-  .alloc_cb_override = uv_link_default_alloc_cb,
+  .alloc_cb_override = uv_link_default_alloc_cb_override,
   .read_cb_override = uv_link_observer_read_cb
 };