[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200708130019.53565.jesper.juhl@gmail.com>
Date: Mon, 13 Aug 2007 00:19:53 +0200
From: Jesper Juhl <jesper.juhl@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jesper Juhl <jesper.juhl@...il.com>
Subject: [PATCH 3/6][RESEND] Reduce size of the xterm-linux.xpm image by 12 bytes.
(previously send on 04-Aug-2007 20:31)
Ok, this is a bit silly (but also a little fun) :-)
In Documentation/ we have the xterm-linux.xpm image.
Now an XPM image is more or less C code, so I thought it would
be fun to look at it like that and put on the CodingStyle and
space use glasses.
I made two changes, none of which change the actual image.
1) I removed two lines that just had empty comments.
2) I brought the 'image_name' declaration into line with how
we commonly write arrays and pointers.
This saves us an astonishing 12 bytes on the file size ;-)
That's a little less data for every future Linux kernel source
user to download - that can't be bad.
Ok, ok, so it does have the drawback of being 99,999% churn and
you could argue that it'll clutter the git history. So if you
don't apply it I won't hate you (too much) ;-)
Signed-off-by: Jesper Juhl <jesper.juhl@...il.com>
---
diff --git a/Documentation/xterm-linux.xpm b/Documentation/xterm-linux.xpm
index f469c1a..93cb180 100644
--- a/Documentation/xterm-linux.xpm
+++ b/Documentation/xterm-linux.xpm
@@ -9,10 +9,8 @@
/** Swiss Federal Institute of Technology **/
/** Central Computing Service **/
/*****************************************************************************/
-static char * image_name [] = {
-/**/
+static char *image_name[] = {
"64 38 8 1",
-/**/
" s mask c none",
". c gray70",
"X c gray85",
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists