Re: Indent -ncs arg has no effect in func decl
Andrey Utkin <[email protected]> Mon, 28 Dec 2015 13:54:26 +0200
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============9199992886674727041== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3opg9hsH96e79qiqRPP4OKRLRHagNE63o" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3opg9hsH96e79qiqRPP4OKRLRHagNE63o Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/28/2015 01:46 PM, Andrey Utkin wrote: > -ncs forces no space between cast sign and casting argument. But this > option is not effective in function arguments declaration. > > It results with this: > > void tw5864_h264_put_stream_header(u8 ** buf, size_t * space_left, int = qp, > int width, int height); > > checkpatch.pl from Linux kernel scripts doesn't like this: > > $ /src/linux-next/scripts/checkpatch.pl -f tw5864.h > ERROR: "foo ** bar" should be "foo **bar" > #272: FILE: tw5864.h:272: > +void tw5864_h264_put_stream_header(u8 ** buf, size_t * space_left, int= qp, > > ERROR: "foo * bar" should be "foo *bar" > #272: FILE: tw5864.h:272: > +void tw5864_h264_put_stream_header(u8 ** buf, size_t * space_left, int= qp, > > man gives no clue how to fix this. > Sorry for noise, found about -T. --3opg9hsH96e79qiqRPP4OKRLRHagNE63o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWgSLyAAoJENVqfNDG/NsR+L4P/0E4+0RnCCO3QSIO3/m7RgLX dhgBgvMyZ32MsWbmZmzhxdzdFoxgmPvzbv8e28ERhOl3Go00TpOcF5WcNKThkwsC Sd8hlk5tKhNdXcTt809F132cleG+gUA5hCPreN39y3b1dLmxPy8fTEq4+OO4Iivn gbs2C35FTMBzD4AQLsfsv6RFOyhh78tBoA2HyI39Xx0dgY8qnIsWACBbnsEMn1Xg RkgdGZBnOOVgSadpknREZsmjRrlwyepGJLLQyYewYbaYEre9vr5HKGQO4OoXhIMD OafRX+cpEotj+eIpoqC4ISuld3B5OnsyGrbKfl+CRYdNFNe3NusbKqDA70WqYNH/ 2lIuC1Qp8FRWwnnUYMLIqvLd7TWkh03odtypYOP83lN1qLoernmwAMV6irUjQ37+ 9JvqdCSPFOiKYKKLsMYWHO6/0WPxQaDXUaXWYDBJmJBmqlIRVFNFi4tdabnS9RVL bZXBUOfXnwCOTJuyjgAn8mhGHnDOrodxbcLu2wKbN9YkN4lg0dnY+Eci+a149sI4 x4OAmBWQF3+KkQjbgOwh+zVsJ2ghDfgcJCGepRli2dh4Z7b8D4J8jTY6iijo9iVJ eo3TeHrCJZTQzu5tzfcsXZF4WLGSx55fAkfwycDQoPW4zJ6qrCyEG/p6NP9/5+sH D3n27MObfccYl5H5+SMZ =ca7L -----END PGP SIGNATURE----- --3opg9hsH96e79qiqRPP4OKRLRHagNE63o-- --===============9199992886674727041== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ bug-indent mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-indent --===============9199992886674727041==--