diff --git a/docs/sudo_plugin.man.in b/docs/sudo_plugin.man.in index bd30403e7..c36fe0014 100644 --- a/docs/sudo_plugin.man.in +++ b/docs/sudo_plugin.man.in @@ -16,7 +16,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.TH "SUDO_PLUGIN" "5" "January 18, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual" +.TH "SUDO_PLUGIN" "5" "July 10, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual" .nh .if n .ad l .SH "NAME" @@ -4809,7 +4809,7 @@ typedef int (*sudo_conv_t)(int num_msgs, const struct sudo_conv_message msgs[], struct sudo_conv_reply replies[], struct sudo_conv_callback *callback); -typedef int (*sudo_printf_t)(int msg_type, const char *fmt, ...); +typedef int (*sudo_printf_t)(int msg_type, const char * restrict fmt, ...); .RE .fi .PP diff --git a/docs/sudo_plugin.mdoc.in b/docs/sudo_plugin.mdoc.in index b6d3b9352..b604dbe00 100644 --- a/docs/sudo_plugin.mdoc.in +++ b/docs/sudo_plugin.mdoc.in @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd January 18, 2023 +.Dd July 10, 2023 .Dt SUDO_PLUGIN @mansectform@ .Os Sudo @PACKAGE_VERSION@ .Sh NAME @@ -4256,7 +4256,7 @@ typedef int (*sudo_conv_t)(int num_msgs, const struct sudo_conv_message msgs[], struct sudo_conv_reply replies[], struct sudo_conv_callback *callback); -typedef int (*sudo_printf_t)(int msg_type, const char *fmt, ...); +typedef int (*sudo_printf_t)(int msg_type, const char * restrict fmt, ...); .Ed .Pp To use the