How can I make indent leave pointer type *s alone?
Chris Nelson <[email protected]>
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <b02f12f2-976d-43c1-9599-b8d91a581428@l43g2000hsh.googlegroups.com> |
When I run indent with various options I want against my source, it does what I want but also messes with the placement of *s in pointer types: -int send_pkt(tpkt_t* pkt, void* opt_data); -void dump(tpkt_t* bp); +int send_pkt(tpkt_t * pkt, void *opt_data); +void dump(tpkt * bp); I know my placement of *s next to the type not the variable is unconventional but how can I get indent to just leave them alone? I've looked in the man page, the info page, and visited a half a dozen pages that Google suggested and I can't find an option to do this.