=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/log.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/mg/log.h 2019/07/18 10:50:24 1.5 +++ src/usr.bin/mg/log.h 2021/03/02 13:06:50 1.6 @@ -1,4 +1,4 @@ -/* $OpenBSD: log.h,v 1.5 2019/07/18 10:50:24 lum Exp $ */ +/* $OpenBSD: log.h,v 1.6 2021/03/02 13:06:50 lum Exp $ */ /* This file is in the public domain. */ @@ -6,7 +6,7 @@ * Specifically for mg logging functionality. * */ -int mglog(PF, KEYMAP *); +int mglog(PF, void *); int mgloginit(void); int mglog_execbuf( const char* const, const char* const, @@ -23,9 +23,11 @@ const char* const, const int ); +int mglog_misc( const char *, ...); -char *mglogpath_lines; -char *mglogpath_undo; -char *mglogpath_window; -char *mglogpath_key; -char *mglogpath_interpreter; +extern const char *mglogpath_lines; +extern const char *mglogpath_undo; +extern const char *mglogpath_window; +extern const char *mglogpath_key; +extern const char *mglogpath_interpreter; +extern const char *mglogpath_misc;