From cbdf0756581b5945f66c40ac85270092af0eea6d Mon Sep 17 00:00:00 2001 From: Gudmundur Adalsteinsson Date: Thu, 9 Apr 2020 13:55:42 +0000 Subject: [PATCH] Problem: zmq_send doc does not match declaration Solution: add const to pointer type --- doc/zmq_send.txt | 2 +- doc/zmq_send_const.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/zmq_send.txt b/doc/zmq_send.txt index 680e9bc8..1d84063f 100644 --- a/doc/zmq_send.txt +++ b/doc/zmq_send.txt @@ -9,7 +9,7 @@ zmq_send - send a message part on a socket SYNOPSIS -------- -*int zmq_send (void '*socket', void '*buf', size_t 'len', int 'flags');* +*int zmq_send (void '*socket', const void '*buf', size_t 'len', int 'flags');* DESCRIPTION diff --git a/doc/zmq_send_const.txt b/doc/zmq_send_const.txt index f83472b6..2a6efa2e 100644 --- a/doc/zmq_send_const.txt +++ b/doc/zmq_send_const.txt @@ -9,7 +9,7 @@ zmq_send_const - send a constant-memory message part on a socket SYNOPSIS -------- -*int zmq_send_const (void '*socket', void '*buf', size_t 'len', int 'flags');* +*int zmq_send_const (void '*socket', const void '*buf', size_t 'len', int 'flags');* DESCRIPTION