diff options
Diffstat (limited to 'src/warn.c')
-rw-r--r-- | src/warn.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -40,7 +40,7 @@ static struct action actions[WARN_ENUM_END] = { }, }; -void warnUser( struct user *usr, enum Warning what, int seconds ) +void warn_showDefaultWarning( struct user *usr, enum Warning what, int seconds ) { const time_t NOW = now(); if ( what < 0 || what >= WARN_ENUM_END ) @@ -57,10 +57,10 @@ void warnUser( struct user *usr, enum Warning what, int seconds ) seconds %= 60; char buffer[1000]; snprintf( buffer, sizeof(buffer), warning->message, minutes, seconds, minutes, seconds ); - showWarning( usr, warning->title, buffer ); + warn_showCustomWarning( usr, warning->title, buffer ); } -void showWarning( const struct user *usr, const char *title, const char *body ) +void warn_showCustomWarning( const struct user *usr, const char *title, const char *body ) { // Text or X11 warning if ( *usr->display ) { |