# [PATCH] wt-status.c: mark a file-local symbol as static

2 messages from 2016-08-05 to 2016-08-05. Participants: Ramsay Jones, Jeff Hostetler.
Thread: https://gitlist.dev/t/43016

## Ramsay Jones, 2016-08-05 20:55

Subject: [PATCH] wt-status.c: mark a file-local symbol as static
Message-ID: <ff4862e4-da97-deef-b2dc-5201df184484@ramsayjones.plus.com>
URL: https://gitlist.dev/e/ff4862e4-da97-deef-b2dc-5201df184484%40ramsayjones.plus.com

```

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---

Hi Jeff,

If you need to re-roll your 'jh/status-v2-porcelain' branch, could
you please squash this into the relevant patch (37f7104f, "status:
print per-file porcelain v2 status data", 02-08-2016).

Thanks!

ATB,
Ramsay Jones

 wt-status.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wt-status.c b/wt-status.c
index 3396bf5..a80400e 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -2152,7 +2152,7 @@ static void wt_porcelain_v2_print_other(
  * [<v2_ignored_items>]*
  *
  */
-void wt_porcelain_v2_print(struct wt_status *s)
+static void wt_porcelain_v2_print(struct wt_status *s)
 {
 	struct wt_status_change_data *d;
 	struct string_list_item *it;
-- 
2.9.0

```

## Jeff Hostetler, 2016-08-05 21:24

Subject: Re: [PATCH] wt-status.c: mark a file-local symbol as static
Message-ID: <57A50400.9020101@jeffhostetler.com>
URL: https://gitlist.dev/e/57A50400.9020101%40jeffhostetler.com
In-Reply-To: <ff4862e4-da97-deef-b2dc-5201df184484@ramsayjones.plus.com>

```


On 08/05/2016 04:55 PM, Ramsay Jones wrote:
>
> Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
> ---
>
> Hi Jeff,
>
> If you need to re-roll your 'jh/status-v2-porcelain' branch, could
> you please squash this into the relevant patch (37f7104f, "status:
> print per-file porcelain v2 status data", 02-08-2016).
>
> Thanks!
>
> ATB,
> Ramsay Jones
>
>   wt-status.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/wt-status.c b/wt-status.c
> index 3396bf5..a80400e 100644
> --- a/wt-status.c
> +++ b/wt-status.c
> @@ -2152,7 +2152,7 @@ static void wt_porcelain_v2_print_other(
>    * [<v2_ignored_items>]*
>    *
>    */
> -void wt_porcelain_v2_print(struct wt_status *s)
> +static void wt_porcelain_v2_print(struct wt_status *s)
>   {
>   	struct wt_status_change_data *d;
>   	struct string_list_item *it;
>

got it.  thanks!

Jeff

```
