mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Add restrict keyword to sudo_printf_t in plugin docs.
This commit is contained in:
parent
db6baf2caf
commit
44cfa9e132
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user