From 5058070fcb0ab857642381f2bc39934d797bc326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Tue, 17 Sep 2024 17:50:58 +0200 Subject: [PATCH] VERSION definition no longer necessary in header. --- src/global.h | 4 ---- src/main.c | 1 - 2 files changed, 5 deletions(-) diff --git a/src/global.h b/src/global.h index 6a6f964..5f306ff 100644 --- a/src/global.h +++ b/src/global.h @@ -17,8 +17,4 @@ */ #pragma once -#ifndef VERSION -#define VERSION "VERSION" -#endif - #define ARRAY_LEN(arr) (sizeof(arr) / sizeof(arr[0])) diff --git a/src/main.c b/src/main.c index cee96d6..262ce78 100644 --- a/src/main.c +++ b/src/main.c @@ -19,7 +19,6 @@ #include #include "arg_parse.h" -#include "global.h" void print_version(void) { printf("menu-helper v%s\n\n", VERSION);