threads / patch / 70

patchshow-diff.c: do not include unused header file

Subject: [PATCH] show-diff.c: do not include unused header file

## tl;dr

One message between Apr 17, 2005 and Apr 17, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Junio C Hamano· Apr 17, 2005, 05:39 UTC · lore

This is my bad. I added #include <ctype.h> to the file, which I ended up not using and failed to remove it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---

show-diff.c: d85d79b97a59342390bd34da09049dd58d56900f --- show-diff.c +++ show-diff.c 2005-04-16 22:37:29.000000000 -0700

Show changes to diff +0 −1
@@ -4,7 +4,6 @@
  * Copyright (C) Linus Torvalds, 2005
  */
 #include "cache.h"
-#include <ctype.h>
 
 static char *diff_cmd = "diff -L '%s' -u -N  - '%s'";

← back to recent threads