summaryrefslogtreecommitdiff
path: root/bmtoa.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-14 21:25:06 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-14 21:25:06 -0700
commita8ee8e937e8d939522f18fa5723afea084221467 (patch)
tree46430bb72fdb1d680d50031a9a744737f7ac7d9a /bmtoa.c
parent64eacd3665306283d126d0df7cf63a071e576c38 (diff)
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'bmtoa.c')
-rw-r--r--bmtoa.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/bmtoa.c b/bmtoa.c
index 2918469..985b04a 100644
--- a/bmtoa.c
+++ b/bmtoa.c
@@ -50,15 +50,15 @@ extern char *mktemp();
static char *ProgramName;
-static void print_scanline (unsigned int width, unsigned int height,
+static void print_scanline (unsigned int width, unsigned int height,
unsigned char *data, char *chars);
-static void
+static void
usage (void)
{
fprintf (stderr, "usage: %s [-options ...] [filename]\n\n",
ProgramName);
- fprintf (stderr,
+ fprintf (stderr,
"where options include:\n");
fprintf (stderr,
" -chars cc chars to use for 0 and 1 bits, respectively\n");
@@ -116,7 +116,7 @@ copy_stdin (void)
}
int
-main (int argc, char *argv[])
+main (int argc, char *argv[])
{
char *filename = NULL;
int isstdin = 0;
@@ -175,9 +175,9 @@ main (int argc, char *argv[])
}
static void
-print_scanline (unsigned int width,
- unsigned int height,
- unsigned char *data,
+print_scanline (unsigned int width,
+ unsigned int height,
+ unsigned char *data,
char *chars)
{
unsigned char *dp = data;