# [PATCH] revision: remove declaration of path_name()

2 messages from 2017-03-17 to 2017-03-17. Participants: René Scharfe, Jeff King.
Thread: https://gitlist.dev/t/45415

## René Scharfe, 2017-03-17 22:15

Subject: [PATCH] revision: remove declaration of path_name()
Message-ID: <476be7e2-4b7a-6707-a162-439ef1f4530e@web.de>
URL: https://gitlist.dev/e/476be7e2-4b7a-6707-a162-439ef1f4530e%40web.de

```
The definition of path_name() was removed by 2824e1841 (list-objects:
pass full pathname to callbacks); remove its declaration as well.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
---
 revision.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/revision.h b/revision.h
index 9fac1a607d..14886ec92b 100644
--- a/revision.h
+++ b/revision.h
@@ -259,8 +259,6 @@ extern void put_revision_mark(const struct rev_info *revs,
 extern void mark_parents_uninteresting(struct commit *commit);
 extern void mark_tree_uninteresting(struct tree *tree);
 
-char *path_name(struct strbuf *path, const char *name);
-
 extern void show_object_with_name(FILE *, struct object *, const char *);
 
 extern void add_pending_object(struct rev_info *revs,
-- 
2.12.0


```

## Jeff King, 2017-03-17 22:26

Subject: Re: [PATCH] revision: remove declaration of path_name()
Message-ID: <20170317222632.wtbzxwydr5i6ylx7@sigill.intra.peff.net>
URL: https://gitlist.dev/e/20170317222632.wtbzxwydr5i6ylx7%40sigill.intra.peff.net
In-Reply-To: <476be7e2-4b7a-6707-a162-439ef1f4530e@web.de>

```
On Fri, Mar 17, 2017 at 11:15:03PM +0100, René Scharfe wrote:

> The definition of path_name() was removed by 2824e1841 (list-objects:
> pass full pathname to callbacks); remove its declaration as well.

Yep, this should have been done back then. Thanks.

-Peff

```
