Indent -ncs arg has no effect in func decl
Andrey Utkin <[email protected]> Mon, 28 Dec 2015 13:46:08 +0200
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============2176650233772986473==
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature";
boundary="OkINvdLI5LKxXaGLWKHNO2RNNBqDkJNMX"
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--OkINvdLI5LKxXaGLWKHNO2RNNBqDkJNMX
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
-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 q=
p,
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 q=
p,
man gives no clue how to fix this.
--OkINvdLI5LKxXaGLWKHNO2RNNBqDkJNMX
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
iQIcBAEBCAAGBQJWgSEAAAoJENVqfNDG/NsRaMQP/isFmDrLjwSwwz2Q1VltUGAq
kvzOSmnZICiXa3pSAybf17sAiE5vFlkMjxF/zY6MKZZkDaduiVl4l/kkrb3pxjIk
ip3CCdxwU6haYpi6hSrGzy9uPbBKkOkb3aFhL2kCMiQq2kcGZ1lRy/VF3Kz56pPm
eRsuooKUtwaiRlRNLqjLh89CzcNDSg6iQRle2coZAaO7Z+7vIy8hCDt1Eu6C0hCo
TAX9SHgok86T4kUGNxMcW9fFWl+kfP3KkvPa/PeiW3ktpclITBDVFNNK+5KJuK7F
RstxriCULhujGHB2KIAozPKPEusKP+SAj9EWcBXco4TYnoYNWqBv7lNVESwbN9IG
5gI18lIpzJ9WkGEwixwi2B9ybFY76m2rnqmlZdCFen0/5+tbsx3zKAQffDzKiXxh
+dh5WM7X5iHsz7wjndhtzvXlVODjBiDOPd9xJhvToMuMJFUQoFEuXQSAWoGSqiD2
bxX3j/U/F90Vs5CpWs1TPp+y78Ss3lwt6myV2jiIpzhV2a5yc8i+IvCV6G+ENkmV
RNeT3fZSgfcpOBtERqSU76s+8pRJoPzYpT406I1OxuBVko1eKwwbkYaC+bnOJc+l
vPNYgfBAhcHqmVSF+0+jZarVUloJb/Jo6PYJNr+pZnUjpl0U/jkl/FVDyEH+ypne
OEnJxNN4epuKKwugDN29
=Id/r
-----END PGP SIGNATURE-----
--OkINvdLI5LKxXaGLWKHNO2RNNBqDkJNMX--
--===============2176650233772986473==
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
--===============2176650233772986473==--