Fix getenv() declaration in w3mhelperpanel.c

Remove old-style extern declaration that conflicts with stdlib.h.
Continues modernization for GCC compatibility.

🤖 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:30:18 -04:00
parent 39921003bb
commit 4c99ee7191

View File

@@ -12,13 +12,13 @@
#if LANG == JA #if LANG == JA
/* FIXME: gettextize here */ /* FIXME: gettextize here */
#define MSG_TITLE "外部ビューアの編集" #define MSG_TITLE "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӥ塼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD>"
#define MSG_NEW_ENTRY "新規登録" #define MSG_NEW_ENTRY "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͽ"
#define MSG_TYPE "データタイプ" #define MSG_TYPE "<EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#define MSG_COMMAND "外部コマンド" #define MSG_COMMAND "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޥ<EFBFBD><EFBFBD>"
#define MSG_REGISTER "登録" #define MSG_REGISTER "<EFBFBD><EFBFBD>Ͽ"
#define MSG_DELETE "削除" #define MSG_DELETE "<EFBFBD><EFBFBD><EFBFBD>"
#define MSG_DOIT "実行" #define MSG_DOIT "<EFBFBD>¹<EFBFBD>"
#else /* LANG != JA */ #else /* LANG != JA */
#define MSG_TITLE "External Viewers Setup" #define MSG_TITLE "External Viewers Setup"
#define MSG_NEW_ENTRY "New Entry" #define MSG_NEW_ENTRY "New Entry"
@@ -167,7 +167,6 @@ int
main(void) main(void)
{ {
Str mailcapfile; Str mailcapfile;
extern char *getenv();
char *p; char *p;
int length; int length;
Str qs = NULL; Str qs = NULL;