Remove unnecessary sudo_gettext.h include and add missing const.

This commit is contained in:
Todd C. Miller
2023-09-10 10:23:04 -06:00
parent c54bdd799b
commit 166ef55aa7
2 changed files with 6 additions and 7 deletions

View File

@@ -29,11 +29,10 @@
#include "sudo_compat.h"
#include "sudo_debug.h"
#include "sudo_gettext.h"
#include "sudo_util.h"
static char **allowed_shells, **current_shell;
static char *default_shells[] = {
static char **allowed_shells, * const *current_shell;
static const char *default_shells[] = {
"/bin/sh",
"/bin/ksh",
"/bin/ksh93",