Change 'from' and 'format' arguments of logmsg() to const char *

This allows callers to pass const char * pointers to them.
This commit is contained in:
Kevin Easton
2015-09-02 23:39:53 +10:00
parent d1816fdc8b
commit c881dd7a9a
2 changed files with 22 additions and 22 deletions

View File

@@ -569,7 +569,7 @@ void set_notify_level(Window *win, char *str, int unused)
current_window->notify_level = notify_level;
}
int logmsg(unsigned long log_type, char *from, int flag, char *format, ...)
int logmsg(unsigned long log_type, const char *from, int flag, const char *format, ...)
{
#ifdef PUBLIC_ACCESS
return 0;