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

Re: [PATCH] trace.c: mark file-local function static

From
Drew Northup <drew.northup@maine.edu>
Date
Dec 21, 2010, 15:19 UTC
Message-ID
<1292944750.26698.16.camel@drew-northup.unet.maine.edu>
In-Reply-To
<AANLkTinL6RytF=x7a8URoxGQoLHhx0ip7gRNMp+nRaNB@mail.gmail.com>
On Tue, 2010-12-21 at 21:52 +0700, Nguyen Thai Ngoc Duy wrote:
> On Mon, Dec 20, 2010 at 11:53 PM, Drew Northup <drew.northup@maine.edu> wrote:
Show 7 quoted lines
> Yeah I would expect somebody reverting this patch _if_ this function
> is useful outside trace.c again. On the other hand, this patch saves
> do_nothing from global namespace so somewhere, some time, somebody can
> use it.
> 
> This is pretty much a clean-up patch from my perspective. Do we really
> need two paragraph explanation for marking a function static?
No, but 1 sentence would be dandy.
-- 
-Drew Northup N1XIM
   AKA RvnPhnx on OPN
________________________________________________
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59
Previous: Nguyen Thai Ngoc DuyNext: Junio C Hamano
Message 10 of 14 in “trace.c: mark file-local function static”
  1. trace.c: mark file-local function staticVasyl', Dec 16, 2010
  2. Thiago FarinaDec 16, 2010
  3. Drew NorthupDec 20, 2010
  4. Thiago FarinaDec 20, 2010
  5. Drew NorthupDec 20, 2010
  6. Thiago FarinaDec 21, 2010
  7. Drew NorthupDec 21, 2010
  8. Thiago FarinaDec 21, 2010
  9. Nguyen Thai Ngoc DuyDec 21, 2010
  10. Drew NorthupDec 21, 2010
  11. Junio C HamanoDec 21, 2010
  12. Thiago FarinaDec 21, 2010
  13. Junio C HamanoDec 21, 2010
  14. Johannes SixtDec 21, 2010

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.