summaryrefslogtreecommitdiffstats
path: root/src/warn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/warn.c')
-rw-r--r--src/warn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/warn.c b/src/warn.c
index 7b1ec8e..c02829e 100644
--- a/src/warn.c
+++ b/src/warn.c
@@ -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 ) {