···22222323struct date_mode {
2424 enum date_mode_type type;
2525- const char *strftime_fmt;
2625 int local;
2626+ const char *strftime_fmt;
2727};
28282929#define DATE_MODE_INIT { \
···3636 * show_date(t, tz, DATE_MODE(NORMAL));
3737 */
3838#define DATE_MODE(t) date_mode_from_type(DATE_##t)
3939-struct date_mode *date_mode_from_type(enum date_mode_type type);
3939+struct date_mode date_mode_from_type(enum date_mode_type type);
40404141/**
4242 * Format <'time', 'timezone'> into static memory according to 'mode'
4343 * and return it. The mode is an initialized "struct date_mode"
4444 * (usually from the DATE_MODE() macro).
4545 */
4646-const char *show_date(timestamp_t time, int timezone, const struct date_mode *mode);
4646+const char *show_date(timestamp_t time, int timezone, struct date_mode mode);
47474848/**
4949 * Parse a date format for later use with show_date().
+1-1
gpg-interface.c
···483483484484 if (sigc->payload_timestamp)
485485 strbuf_addf(&verify_time, "-Overify-time=%s",
486486- show_date(sigc->payload_timestamp, 0, &verify_date_mode));
486486+ show_date(sigc->payload_timestamp, 0, verify_date_mode));
487487488488 /* Find the principal from the signers */
489489 strvec_pushl(&ssh_keygen.args, fmt->program,