Fix getenv() declaration compatibility issue

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 <noreply@anthropic.com>
This commit is contained in:
Storm Dragon
2025-08-15 02:28:37 -04:00
parent 0ea1f07ac3
commit 39921003bb

View File

@@ -9,9 +9,9 @@
#if LANG == JA #if LANG == JA
/* FIXME: gettextize here */ /* FIXME: gettextize here */
#define BKMARK_TITLE "<22>֥å<D6A5><C3A5>ޡ<EFBFBD><DEA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͽ" #define BKMARK_TITLE "<22>֥å<D6A5><C3A5>ޡ<EFBFBD><DEA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͽ"
#define BKMARK_ADD "<22><>Ͽ" #define BKMARK_ADD "<22><>Ͽ"
#define DEFAULT_SECTION "̤ʬ<CCA4><CAAC>" #define DEFAULT_SECTION "̤ʬ<CCA4><CAAC>"
#else #else
#define BKMARK_TITLE "Register to my bookmark" #define BKMARK_TITLE "Register to my bookmark"
#define BKMARK_ADD "ADD" #define BKMARK_ADD "ADD"
@@ -183,7 +183,6 @@ insert_bookmark(char *bmark, struct parsed_tagarg *data)
int int
main(void) main(void)
{ {
extern char *getenv();
char *p; char *p;
int length; int length;
Str qs = NULL; Str qs = NULL;