]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.h
git: update to v2.46.0
[ps-cgit] / ui-shared.h
index 6964873a63942e2222d3981d73d4178c52c51508..f12fa99492cfe7d7d40c12dfecdad5c145348b59 100644 (file)
@@ -65,7 +65,7 @@ __attribute__((format (printf,1,2)))
 extern void cgit_print_error(const char *fmt, ...);
 __attribute__((format (printf,1,0)))
 extern void cgit_vprint_error(const char *fmt, va_list ap);
-extern const struct date_mode *cgit_date_mode(enum date_mode_type type);
+extern const struct date_mode cgit_date_mode(enum date_mode_type type);
 extern void cgit_print_age(time_t t, int tz, time_t max_relative);
 extern void cgit_print_http_headers(void);
 extern void cgit_redirect(const char *url, bool permanent);