Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!timbuk!cs.umn.edu!cybrspc!roy From: roy%cybrspc@cs.umn.edu (Roy M. Silvernail) Newsgroups: comp.lang.c Subject: Indent question Message-ID: Date: 14 Nov 90 04:36:35 GMT Organization: Villa CyberSpace, Minneapolis, MN Lines: 28 I have just picked up GNU Indent for MS-DOS. Unfortunately, no documentation came with it. I'd like to know if the following is possible... Indent (both GNU and the previous version I found on SIMTEL) formats all function declarations like this: int this_function(int param) { do_something(); } but I prefer this: int this_function(int param) { do_something(); } Can I get indent to use my preferred brace style, or must I hack the source? (if I have to hack source, can someone point me to GNU source for indent?) Thanks in advance. E-mail replies would save bandwidth, and I'll summarize if there's any interest in this. -- Roy M. Silvernail |+| roy%cybrspc@cs.umn.edu |+| #define opinions ALL_MINE; main(){float x=1;x=x/50;printf("It's only $%.2f, but it's my $%.2f!\n",x,x);} "This is cyberspace." -- Peter da Silva :--: "...and I like it here!" -- me