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

[PATCH] Remove uneeded #include

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 29, 2006, 11:02 UTC
Message-ID
<Pine.LNX.4.63.0608291302090.28360@wbgn013.biozentrum.uni-wuerzburg.de>
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
---
 peek-remote.c  |    1 -
 receive-pack.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/peek-remote.c b/peek-remote.c
index 2b30980..87f1543 100644
--- a/peek-remote.c
+++ b/peek-remote.c
@@ -1,7 +1,6 @@
 #include "cache.h"
 #include "refs.h"
 #include "pkt-line.h"
-#include <sys/wait.h>
 
 static const char peek_remote_usage[] =
 "git-peek-remote [--exec=upload-pack] [host:]directory";
diff --git a/receive-pack.c b/receive-pack.c
index 2015316..78f75da 100644
--- a/receive-pack.c
+++ b/receive-pack.c
@@ -2,7 +2,6 @@ #include "cache.h"
 #include "refs.h"
 #include "pkt-line.h"
 #include "run-command.h"
-#include <sys/wait.h>
 
 static const char receive_pack_usage[] = "git-receive-pack <git-dir>";
 
-- 
1.4.2.ga16ff-dirty
Message 1 of 1 in “Remove uneeded #include”
  1. Remove uneeded #includeJohannes Schindelin, Aug 29, 2006

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.