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

[PATCH] string-list: rename the include guard to STRING_LIST_H

From
Thiago Farina <tfransosi@gmail.com>
Date
Jan 8, 2010, 22:45 UTC
Message-ID
<1262990708-1375-1-git-send-email-tfransosi@gmail.com>
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
---
 string-list.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/string-list.h b/string-list.h
index 14bbc47..6569cf6 100644
--- a/string-list.h
+++ b/string-list.h
@@ -1,5 +1,5 @@
-#ifndef PATH_LIST_H
-#define PATH_LIST_H
+#ifndef STRING_LIST_H
+#define STRING_LIST_H
 
 struct string_list_item {
 	char *string;
@@ -39,4 +39,4 @@ struct string_list_item *string_list_append(const char *string, struct string_li
 void sort_string_list(struct string_list *list);
 int unsorted_string_list_has_string(struct string_list *list, const char *string);
 
-#endif /* PATH_LIST_H */
+#endif /* STRING_LIST_H */
-- 
1.6.6.75.g37bae
Message 1 of 1 in “string-list: rename the include guard to STRING_LIST_H”
  1. string-list: rename the include guard to STRING_LIST_HThiago Farina, Jan 8, 2010

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.