2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-05 08:45:28 +00:00

Remove now-unused log_fatal()

This commit is contained in:
Todd C. Miller
2014-04-30 17:00:20 -06:00
parent 5086194c67
commit cbee9cc8cb
5 changed files with 11 additions and 29 deletions

View File

@@ -36,7 +36,7 @@
#define SUDOERS_LOCALE_USER 0
#define SUDOERS_LOCALE_SUDOERS 1
/* Flags for log_warning()/log_fatal() */
/* Flags for log_warning() */
#define MSG_ONLY 0x01
#define USE_ERRNO 0x02
#define NO_MAIL 0x04
@@ -67,7 +67,6 @@ void log_auth_failure(int status, unsigned int tries);
void log_denial(int status, bool inform_user);
void log_failure(int status, int flags);
void log_warning(int flags, const char *fmt, ...) __printflike(2, 3);
void log_fatal(int flags, const char *fmt, ...) __printflike(2, 3) __attribute__((__noreturn__));
void sudoers_initlocale(const char *ulocale, const char *slocale);
void writeln_wrap(FILE *fp, char *line, size_t len, size_t maxlen);