From 39921003bb70138149cc07508552350bc979f958 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 15 Aug 2025 02:28:37 -0400 Subject: [PATCH] Fix getenv() declaration compatibility issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove old-style extern declaration that conflicts with stdlib.h. This fixes compilation error with modern GCC versions. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- w3mbookmark.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/w3mbookmark.c b/w3mbookmark.c index bf3dade..c635894 100644 --- a/w3mbookmark.c +++ b/w3mbookmark.c @@ -9,9 +9,9 @@ #if LANG == JA /* FIXME: gettextize here */ -#define BKMARK_TITLE "¥Ö¥Ã¥¯¥Þ¡¼¥¯¤ÎÅÐÏ¿" -#define BKMARK_ADD "ÅÐÏ¿" -#define DEFAULT_SECTION "̤ʬÎà" +#define BKMARK_TITLE "�֥å��ޡ�������Ͽ" +#define BKMARK_ADD "��Ͽ" +#define DEFAULT_SECTION "̤ʬ��" #else #define BKMARK_TITLE "Register to my bookmark" #define BKMARK_ADD "ADD" @@ -183,7 +183,6 @@ insert_bookmark(char *bmark, struct parsed_tagarg *data) int main(void) { - extern char *getenv(); char *p; int length; Str qs = NULL;