From 57ae8c48e69c3fb37e5c0302aa8f65cb2e6b53e9 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Thu, 21 Nov 2024 12:17:30 +0100 Subject: [PATCH] These defines don't have to be in the header file They're only used in `window.c`. Signed-off-by: Steffen Jaeckel --- src/ui/window.c | 2 ++ src/ui/window.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ui/window.c b/src/ui/window.c index 0c32f0b4..9ce7a34d 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -64,6 +64,8 @@ #include "xmpp/connection.h" #include "database.h" +#define PAD_SIZE 1000 +#define LOADING_MESSAGE "Loading older messages…" #define CONS_WIN_TITLE "Profanity. Type /help for help information." #define XML_WIN_TITLE "XML Console" diff --git a/src/ui/window.h b/src/ui/window.h index 1e494f19..0475cea3 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -56,9 +56,6 @@ #include "xmpp/contact.h" #include "xmpp/muc.h" -#define PAD_SIZE 1000 -#define LOADING_MESSAGE "Loading older messages…" - void win_move_to_end(ProfWin* window); void win_show_status_string(ProfWin* window, const char* const from, const char* const show, const char* const status,