aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorBrad Roberts <braddr@puremagic.com>2005-05-14 19:04:25 -0700
committerPetr Baudis <xpasky@machine.sinus.cz>2005-05-15 12:37:39 +0200
commitdbbce55b3a1129fcc6c5141dd5b8053512286b83 (patch)
treee08545d53dffcc8d523d7e3ac9fbd81f7fb4d39f /cache.h
parent5d728c8411a092f80171f787b5409d98978690c7 (diff)
downloadgit-dbbce55b3a1129fcc6c5141dd5b8053512286b83.tar.gz
git-dbbce55b3a1129fcc6c5141dd5b8053512286b83.tar.xz
Rename some more cache-related functions
same_name -> ce_same_name() remove_entry_at() -> remove_cache_entry_at() Signed-off-by: Brad Roberts <braddr@puremagic.com> Signed-off-by: Petr Baudis <pasky@ucw.cz>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache.h b/cache.h
index 3eb97e7cc..1baec8e6e 100644
--- a/cache.h
+++ b/cache.h
@@ -126,9 +126,9 @@ extern int cache_name_pos(const char *name, int namelen);
#define ADD_CACHE_OK_TO_ADD 1 /* Ok to add */
#define ADD_CACHE_OK_TO_REPLACE 2 /* Ok to replace file/directory */
extern int add_cache_entry(struct cache_entry *ce, int option);
-extern int remove_entry_at(int pos);
+extern int remove_cache_entry_at(int pos);
extern int remove_file_from_cache(char *path);
-extern int same_name(struct cache_entry *a, struct cache_entry *b);
+extern int ce_same_name(struct cache_entry *a, struct cache_entry *b);
extern int ce_match_stat(struct cache_entry *ce, struct stat *st);
extern int index_fd(unsigned char *sha1, int fd, struct stat *st);