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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user