ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit c7f472f468135f5294b3a51ccf1fdd162aa3653b
parent f0cfd58e932e01a7aad5d923aa4e558a02ff404e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  2 Feb 2015 19:56:59 +0100

dd: code-style, linewrap

Diffstat:
Mdd.c | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/dd.c b/dd.c @@ -213,12 +213,6 @@ copy(struct dd_config *ddc) } static void -usage(void) -{ - eprintf("usage: %s [-h] [if=infile] [of=outfile] [bs[=N]] [seek=N] [skip=N] [count=N] [direct] [quiet] [nosync]\n", argv0); -} - -static void print_stat(const struct dd_config *ddc) { if (ddc->quiet) @@ -241,6 +235,13 @@ sig_int(int unused) sigint = 1; } +static void +usage(void) +{ + eprintf("usage: %s [-h] [if=infile] [of=outfile] [bs[=N]] [seek=N] " + "[skip=N] [count=N] [direct] [quiet] [nosync]\n", argv0); +} + int main(int argc, char *argv[]) {