style(9) question

Bakul Shah bakul at BitBlocks.com
Thu Mar 2 17:44:07 GMT 2006


Warner Losh writes:
> Heck, we'd be better off contemplating the lint in our belly buttons.

As you wish!

$ lint belly button
lint: unknown file type: belly

lint: unknown file type: button

lint: cannot find llib-lc.ln
Lint pass2:
usage: lint2 -hpstxuHF -Clib -l lib ... src1 ...

> Why do it in the first place?  It makes it look consisntant with if
> (foo) or while (foo).  return foo; looks inconsistant: keyword (expr);

$ cat>x.c<<EOF
f()
{
	goto (foo);
	foo: return 1;
}
EOF
$ cc -c x.c
x.c: In function `f':
x.c:3: error: syntax error before '(' token

We now return (you) to the usual programme after this silliness.


More information about the freebsd-current mailing list