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

[PATCH] Whitespace: replace spaces with tabs.

From
William Pursell <bill.pursell@gmail.com>
Date
Jun 9, 2007, 22:25 UTC
Message-ID
<466B28F2.7030403@gmail.com>
Two lines of alloc.c contain indentation using spaces, while the 
remainder of the file uses tabs.  This change brings those 2 lines
into conformance with the predominant indentation style.
---
  alloc.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/alloc.c b/alloc.c
index 216c23a..baf9fce 100644
--- a/alloc.c
+++ b/alloc.c
@@ -59,13 +59,13 @@ DEFINE_ALLOCATOR(object, union any_object)

  static void report(const char* name, unsigned int count, size_t size)
  {
-    fprintf(stderr, "%10s: %8u (" SZ_FMT " kB)\n", name, count, size);
+       fprintf(stderr, "%10s: %8u (" SZ_FMT " kB)\n", name, count, size);
  }

  #undef SZ_FMT

  #define REPORT(name)   \
-    report(#name, name##_allocs, name##_allocs*sizeof(struct name) >> 10)
+       report(#name, name##_allocs, name##_allocs*sizeof(struct name) 
 >> 10)

  void alloc_report(void)
  {
--
1.4.4.4
Message 1 of 1 in “Whitespace: replace spaces with tabs.”
  1. Whitespace: replace spaces with tabs.William Pursell, Jun 9, 2007

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.