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

[RFC PATCH 1/6] vcs-svn: remove unused prototypes

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Aug 21, 2017, 00:00 UTC
Message-ID
<20170821000022.26729-2-sandals@crustytoothpaste.net>
In-Reply-To
<20170821000022.26729-1-sandals@crustytoothpaste.net>

The Subversion code had prototypes for several functions which were not ever defined or used. These functions all had names starting with "repo_", some of which conflict with those in repository.h. To avoid the conflict, remove those unused prototypes.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
---
 vcs-svn/repo_tree.h | 7 -------
 1 file changed, 7 deletions(-)
diff --git a/vcs-svn/repo_tree.h b/vcs-svn/repo_tree.h
index 889c6a3c95..d0f5690dca 100644
--- a/vcs-svn/repo_tree.h
+++ b/vcs-svn/repo_tree.h
@@ -10,14 +10,7 @@ struct strbuf;
 
 uint32_t next_blob_mark(void);
 void repo_copy(uint32_t revision, const char *src, const char *dst);
-void repo_add(const char *path, uint32_t mode, uint32_t blob_mark);
 const char *repo_read_path(const char *path, uint32_t *mode_out);
 void repo_delete(const char *path);
-void repo_commit(uint32_t revision, const char *author,
-		const struct strbuf *log, const char *uuid, const char *url,
-		long unsigned timestamp);
-void repo_diff(uint32_t r1, uint32_t r2);
-void repo_init(void);
-void repo_reset(void);
 
 #endif
Previous: brian m. carlsonNext: brian m. carlson
Message 2 of 11 in “Hash Abstraction”
  1. 0/6 Hash Abstractionbrian m. carlson, Aug 21, 2017
  2. 1/6 vcs-svn: remove unused prototypesbrian m. carlson, Aug 21, 2017
  3. 6/6 Switch empty tree and blob lookups to use hash abstractionbrian m. carlson, Aug 21, 2017
  4. 5/6 Integrate hash algorithm support with repo setupbrian m. carlson, Aug 21, 2017
  5. Stefan BellerAug 21, 2017
  6. 4/6 Add structure representing hash algorithmbrian m. carlson, Aug 21, 2017
  7. Stefan BellerAug 21, 2017
  8. 3/6 setup: expose enumerated repo infobrian m. carlson, Aug 21, 2017
  9. 2/6 vcs-svn: rename repo functions to "svn_repo"brian m. carlson, Aug 21, 2017
  10. Junio C HamanoAug 21, 2017
  11. Stefan BellerAug 21, 2017

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.