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

[PATCH 1/2] ctype.c only wants git-compat-util.h

From
Namhyung Kim <namhyung.kim@lge.com>
Date
Feb 10, 2012, 02:13 UTC
Message-ID
<1328840011-19028-1-git-send-email-namhyung.kim@lge.com>

The implementation of sane ctype macros only depends on symbols in git-compat-util.h not cache.h

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
---
 ctype.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ctype.c b/ctype.c
index b5d856f..af722f9 100644
--- a/ctype.c
+++ b/ctype.c
@@ -3,7 +3,7 @@
  *
  * No surprises, and works with signed and unsigned chars.
  */
-#include "cache.h"
+#include "git-compat-util.h"
 
 enum {
 	S = GIT_SPACE,
-- 
1.7.9
Next: Namhyung Kim
Message 1 of 6 in “ctype.c only wants git-compat-util.h”
  1. 1/2 ctype.c only wants git-compat-util.hNamhyung Kim, Feb 10, 2012
  2. 2/2 ctype: implement islower/isupper macroNamhyung Kim, Feb 10, 2012
  3. Junio C HamanoFeb 10, 2012
  4. 김남형Feb 10, 2012
  5. Junio C HamanoFeb 10, 2012
  6. Namhyung KimFeb 10, 2012

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.