about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-09-29 20:15:09 +0200
committerbptato <nincsnevem662@gmail.com>2024-09-29 20:15:09 +0200
commit0166251b17b8f08e5a85285a4914586c8dc3f853 (patch)
treecd062e63016d157d7475d4676585b76a8b554b12
parent44b230bba2c75e9b7334bc30e839e73dd371ffa6 (diff)
downloadchawan-0166251b17b8f08e5a85285a4914586c8dc3f853.tar.gz
buffer: un-extern some procs
-rw-r--r--src/server/buffer.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/buffer.nim b/src/server/buffer.nim
index c50f5653..ba571b82 100644
--- a/src/server/buffer.nim
+++ b/src/server/buffer.nim
@@ -144,12 +144,12 @@ proc getFromStream[T](iface: BufferInterface; promise: EmptyPromise) =
     r.sread(promise.res)
     iface.len = 0
 
-proc addPromise*[T](iface: BufferInterface; id: int): Promise[T] =
+proc addPromise[T](iface: BufferInterface; id: int): Promise[T] =
   let promise = Promise[T]()
   iface.map.add((id, promise, getFromStream[T]))
   return promise
 
-proc addEmptyPromise*(iface: BufferInterface; id: int): EmptyPromise =
+proc addEmptyPromise(iface: BufferInterface; id: int): EmptyPromise =
   let promise = EmptyPromise()
   iface.map.add((id, promise, nil))
   return promise