@@ -527,8 +527,8 @@ journal_restart(const RestartMessage *msg, const uint8_t *buf, size_t buflen,
527527}
528528
529529static bool
530- journal_write (const uint8_t * restrict buf , size_t len ,
531- struct connection_closure * restrict closure )
530+ journal_write (const uint8_t * buf , size_t len ,
531+ struct connection_closure * closure )
532532{
533533 uint32_t msg_len ;
534534 debug_decl (journal_write , SUDO_DEBUG_UTIL );
@@ -597,8 +597,8 @@ journal_accept(const AcceptMessage *msg, const uint8_t *buf, size_t len,
597597 * Store a RejectMessage from the client in the journal.
598598 */
599599static bool
600- journal_reject (const RejectMessage * msg , const uint8_t * restrict buf ,
601- size_t len , struct connection_closure * restrict closure )
600+ journal_reject (const RejectMessage * msg , const uint8_t * buf ,
601+ size_t len , struct connection_closure * closure )
602602{
603603 debug_decl (journal_reject , SUDO_DEBUG_UTIL );
604604
@@ -617,8 +617,8 @@ journal_reject(const RejectMessage *msg, const uint8_t * restrict buf,
617617 * Store an ExitMessage from the client in the journal.
618618 */
619619static bool
620- journal_exit (const ExitMessage * msg , const uint8_t * restrict buf , size_t len ,
621- struct connection_closure * restrict closure )
620+ journal_exit (const ExitMessage * msg , const uint8_t * buf , size_t len ,
621+ struct connection_closure * closure )
622622{
623623 debug_decl (journal_exit , SUDO_DEBUG_UTIL );
624624
@@ -635,8 +635,8 @@ journal_exit(const ExitMessage *msg, const uint8_t * restrict buf, size_t len,
635635 * Store an AlertMessage from the client in the journal.
636636 */
637637static bool
638- journal_alert (const AlertMessage * msg , const uint8_t * restrict buf , size_t len ,
639- struct connection_closure * restrict closure )
638+ journal_alert (const AlertMessage * msg , const uint8_t * buf , size_t len ,
639+ struct connection_closure * closure )
640640{
641641 debug_decl (journal_alert , SUDO_DEBUG_UTIL );
642642
@@ -655,8 +655,8 @@ journal_alert(const AlertMessage *msg, const uint8_t * restrict buf, size_t len,
655655 * Store an IoBuffer from the client in the journal.
656656 */
657657static bool
658- journal_iobuf (int iofd , const IoBuffer * iobuf , const uint8_t * restrict buf ,
659- size_t len , struct connection_closure * restrict closure )
658+ journal_iobuf (int iofd , const IoBuffer * iobuf , const uint8_t * buf ,
659+ size_t len , struct connection_closure * closure )
660660{
661661 debug_decl (journal_iobuf , SUDO_DEBUG_UTIL );
662662
@@ -671,8 +671,8 @@ journal_iobuf(int iofd, const IoBuffer *iobuf, const uint8_t * restrict buf,
671671 * Store a CommandSuspend message from the client in the journal.
672672 */
673673static bool
674- journal_suspend (const CommandSuspend * msg , const uint8_t * restrict buf ,
675- size_t len , struct connection_closure * restrict closure )
674+ journal_suspend (const CommandSuspend * msg , const uint8_t * buf ,
675+ size_t len , struct connection_closure * closure )
676676{
677677 debug_decl (journal_suspend , SUDO_DEBUG_UTIL );
678678
@@ -685,8 +685,8 @@ journal_suspend(const CommandSuspend *msg, const uint8_t * restrict buf,
685685 * Store a ChangeWindowSize message from the client in the journal.
686686 */
687687static bool
688- journal_winsize (const ChangeWindowSize * msg , const uint8_t * restrict buf ,
689- size_t len , struct connection_closure * restrict closure )
688+ journal_winsize (const ChangeWindowSize * msg , const uint8_t * buf ,
689+ size_t len , struct connection_closure * closure )
690690{
691691 debug_decl (journal_winsize , SUDO_DEBUG_UTIL );
692692
0 commit comments