Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2026-06-13 21:15:06 +01:00
6 changed files with 24 additions and 19 deletions

View File

@@ -3778,7 +3778,7 @@ format_table_compare(const void *key0, const void *entry0)
}
/* Get a format callback. */
static struct format_table_entry *
static const struct format_table_entry *
format_table_get(const char *key)
{
return (bsearch(key, format_table, nitems(format_table),
@@ -4112,7 +4112,7 @@ static char *
format_find(struct format_tree *ft, const char *key, int modifiers,
const char *time_format)
{
struct format_table_entry *fte;
const struct format_table_entry *fte;
void *value;
struct format_entry *fe, fe_find;
struct environ_entry *envent;