diff --git a/docs/sudoers_timestamp.man.in b/docs/sudoers_timestamp.man.in index 630ca9d6e..36ab46d92 100644 --- a/docs/sudoers_timestamp.man.in +++ b/docs/sudoers_timestamp.man.in @@ -60,14 +60,14 @@ Time stamp records have the following structure: .sp .RS 0n /* Time stamp entry types */ -#define TS_GLOBAL 0x01 /* not restricted by tty or ppid */ -#define TS_TTY 0x02 /* restricted by tty */ -#define TS_PPID 0x03 /* restricted by ppid */ -#define TS_LOCKEXCL 0x04 /* special lock record */ +#define TS_GLOBAL 0x01U /* not restricted by tty or ppid */ +#define TS_TTY 0x02U /* restricted by tty */ +#define TS_PPID 0x03U /* restricted by ppid */ +#define TS_LOCKEXCL 0x04U /* special lock record */ /* Time stamp flags */ -#define TS_DISABLED 0x01 /* entry disabled */ -#define TS_ANYUID 0x02 /* ignore uid, only valid in key */ +#define TS_DISABLED 0x01U /* entry disabled */ +#define TS_ANYUID 0x02U /* ignore uid, only valid in key */ struct timestamp_entry { unsigned short version; /* version number */ diff --git a/docs/sudoers_timestamp.mdoc.in b/docs/sudoers_timestamp.mdoc.in index 4ddefb09a..8856cee3d 100644 --- a/docs/sudoers_timestamp.mdoc.in +++ b/docs/sudoers_timestamp.mdoc.in @@ -58,14 +58,14 @@ number and a 16-bit record size. Time stamp records have the following structure: .Bd -literal /* Time stamp entry types */ -#define TS_GLOBAL 0x01 /* not restricted by tty or ppid */ -#define TS_TTY 0x02 /* restricted by tty */ -#define TS_PPID 0x03 /* restricted by ppid */ -#define TS_LOCKEXCL 0x04 /* special lock record */ +#define TS_GLOBAL 0x01U /* not restricted by tty or ppid */ +#define TS_TTY 0x02U /* restricted by tty */ +#define TS_PPID 0x03U /* restricted by ppid */ +#define TS_LOCKEXCL 0x04U /* special lock record */ /* Time stamp flags */ -#define TS_DISABLED 0x01 /* entry disabled */ -#define TS_ANYUID 0x02 /* ignore uid, only valid in key */ +#define TS_DISABLED 0x01U /* entry disabled */ +#define TS_ANYUID 0x02U /* ignore uid, only valid in key */ struct timestamp_entry { unsigned short version; /* version number */