login
Header Space

 
 

Re: return void expressions in C (Was: [PATCH 3/6] Rework pretty_print_commit ...)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pierre Habouzit <madcoder@...>
Cc: Junio C Hamano <gitster@...>, <git@...>
Date: Thursday, September 27, 2007 - 6:56 pm

On Mon, 10 Sep 2007, Pierre Habouzit wrote:

The

	void fn1(void);

	void fn2(void)
	{
		return fn1();
	}

thing is a gcc extension. It happens to be one we use in the kernel too, 
since it makes for nicer-looking source code in some circumstances, but 
it's definitely nonstandard.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Use more strbufs series [on top of next], Pierre Habouzit, (Sat Sep 8, 8:04 pm)
[PATCH 1/6] Strbuf API extensions and fixes., Pierre Habouzit, (Mon Sep 10, 6:35 am)
Re: Use more strbufs series [on top of next], Pierre Habouzit, (Sat Sep 8, 8:12 pm)
[PATCH 1/6] Add strbuf_rtrim and strbuf_insert., Pierre Habouzit, (Sat Sep 8, 8:04 pm)
Re: [PATCH 1/6] Add strbuf_rtrim and strbuf_insert., Junio C Hamano, (Sun Sep 9, 6:24 pm)
Re: [PATCH 1/6] Add strbuf_rtrim and strbuf_insert., Pierre Habouzit, (Mon Sep 10, 5:00 am)
new patch 1/6, Pierre Habouzit, (Sun Sep 9, 8:04 am)
Re: [PATCH 1/6] Add strbuf_rtrim and strbuf_insert., Pierre Habouzit, (Sun Sep 9, 7:30 am)
Re: return void expressions in C (Was: [PATCH 3/6] Rework pr..., Linus Torvalds, (Thu Sep 27, 6:56 pm)
speck-geostationary