git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] exec_cmd: remove unused extern

From
Erik Faye-Lund <kusmabite@gmail.com>
Date
Jan 10, 2011, 22:00 UTC
Message-ID
<1294696849-1428-1-git-send-email-kusmabite@gmail.com>

This definition was added by commit 77cb17e9, but it's left unused since commit 511707d. Remove the left-over definition.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
---
Just a left-over definition I found while looking through some code.
 exec_cmd.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/exec_cmd.c b/exec_cmd.c
index bf22570..38545e8 100644
--- a/exec_cmd.c
+++ b/exec_cmd.c
@@ -3,7 +3,6 @@
 #include "quote.h"
 #define MAX_ARGS	32
 
-extern char **environ;
 static const char *argv_exec_path;
 static const char *argv0_path;
 
-- 
1.7.4.rc1.3196.gfd693
Next: Erik Faye-Lund
Message 1 of 3 in “exec_cmd: remove unused extern”
  1. exec_cmd: remove unused externErik Faye-Lund, Jan 10, 2011
  2. Erik Faye-LundMar 24, 2011
  3. Erik Faye-LundMar 24, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.