Place C23 attributes before keywords in function declarations.

In practice this means we must use "sudo_noreturn static foo(void)"
instead of "static sudo_noreturn foo(void)".
This commit is contained in:
Todd C. Miller
2022-12-01 12:54:53 -07:00
parent a44a005f0b
commit e707ffe58b
8 changed files with 13 additions and 13 deletions

View File

@@ -50,10 +50,10 @@ union timestamp_entry_storage {
sudo_dso_public int main(int argc, char *argv[]);
static sudo_noreturn void usage(void);
static void dump_entry(struct timestamp_entry *entry, off_t pos);
static bool valid_entry(union timestamp_entry_storage *u, off_t pos);
static bool convert_entry(union timestamp_entry_storage *record, struct timespec *off);
sudo_noreturn static void usage(void);
/*
* tsdump: a simple utility to dump the contents of a time stamp file.