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

[PATCH 04/12] cache-tree.h: drop extern from function declaration

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Jun 30, 2018, 09:20 UTC
Message-ID
<20180630092031.29910-5-pclouds@gmail.com>
In-Reply-To
<20180630092031.29910-1-pclouds@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 cache-tree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cache-tree.h b/cache-tree.h
index cfd5328cc9..9799e894f7 100644
--- a/cache-tree.h
+++ b/cache-tree.h
@@ -51,6 +51,6 @@ int write_index_as_tree(struct object_id *oid, struct index_state *index_state,
 int write_cache_as_tree(struct object_id *oid, int flags, const char *prefix);
 void prime_cache_tree(struct index_state *, struct tree *);
 
-extern int cache_tree_matches_traversal(struct cache_tree *, struct name_entry *ent, struct traverse_info *info);
+int cache_tree_matches_traversal(struct cache_tree *, struct name_entry *ent, struct traverse_info *info);
 
 #endif
-- 
2.18.0.rc2.476.g39500d3211
Previous: Nguyễn Thái Ngọc DuyNext: Nguyễn Thái Ngọc Duy
Message 7 of 17 in “Kill the_index part2, header file cleanup”
  1. 00/12 Kill the_index part2, header file cleanupNguyễn Thái Ngọc Duy, Jun 30, 2018
  2. 02/12 attr.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  3. 01/12 apply.h: drop extern on func declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  4. 03/12 blame.h: drop extern on func declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  5. 05/12 convert.h: drop 'extern' from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  6. 06/12 diffcore.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  7. 04/12 cache-tree.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  8. 07/12 diff.h: remove extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  9. 10/12 repository.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  10. 08/12 line-range.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  11. 09/12 rerere.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  12. 11/12 revision.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  13. 12/12 submodule.h: drop extern from function declarationNguyễn Thái Ngọc Duy, Jun 30, 2018
  14. Brandon WilliamsJul 2, 2018
  15. Duy NguyenJul 21, 2018
  16. Duy NguyenAug 3, 2018
  17. Junio C HamanoAug 3, 2018

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.