From: Arran Cudbard-Bell Date: Wed, 7 Jun 2017 19:22:05 +0000 (-0400) Subject: Constify fr_io_t in some places X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c86d35e3a7dbb7cabb344e7769337cdfdf00e67;p=thirdparty%2Ffreeradius-server.git Constify fr_io_t in some places --- diff --git a/src/lib/io/channel.h b/src/lib/io/channel.h index 5f93069d64b..c32a986cefc 100644 --- a/src/lib/io/channel.h +++ b/src/lib/io/channel.h @@ -111,7 +111,7 @@ typedef struct fr_channel_data_t { //!< information, and other proto_* specific information //!< that needs to be passed to the request. - fr_io_t *io; //!< for tracking packet transport, etc. + fr_io_t const *io; //!< for tracking packet transport, etc. } fr_channel_data_t; fr_channel_t *fr_channel_create(TALLOC_CTX *ctx, fr_control_t *master, fr_control_t *worker) CC_HINT(nonnull); diff --git a/src/lib/io/io.h b/src/lib/io/io.h index ccc3f17707f..eaf929ce9e8 100644 --- a/src/lib/io/io.h +++ b/src/lib/io/io.h @@ -259,7 +259,7 @@ struct rad_request { fr_channel_t *channel; uint32_t priority; - fr_io_t *io; //!< How we received this request, + fr_io_t const *io; //!< How we received this request, //!< and how we'll send the reply. }; #endif