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

[PATCH] convert.c: mark a file-local function static

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Nov 25, 2015, 21:50 UTC
Message-ID
<56562D09.70205@ramsayjones.plus.com>
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
---
Hi Torsten,

If you need to re-roll your 'tb/ls-files-eol' patch, could you please squash this into the patch.

Thanks.

ATB, Ramsay Jones

 convert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/convert.c b/convert.c
index c99adcd..0595e21 100644
--- a/convert.c
+++ b/convert.c
@@ -118,7 +118,7 @@ static unsigned int gather_convert_stats(const char *data, unsigned long size)
 		return 0;
 }
 
-const char *gather_convert_stats_ascii(const char *data, unsigned long size)
+static const char *gather_convert_stats_ascii(const char *data, unsigned long size)
 {
 	unsigned int convert_stats = gather_convert_stats(data, size);
 
-- 
2.6.0
Next: Torsten Bögershausen
Message 1 of 2 in “convert.c: mark a file-local function static”
  1. convert.c: mark a file-local function staticRamsay Jones, Nov 25, 2015
  2. Torsten BögershausenNov 27, 2015

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.