[PATCH v2 02/15] RISC-V: ABI Implementation
DJ Delorie
dj@redhat.com
Sat Dec 23 03:30:00 GMT 2017
Palmer Dabbelt <palmer@dabbelt.com> writes:
> #define macro(x) ...
I don't think the language lets you put a space here, else there'd
probably be one.
> Thanks. I believe I've fixed them all, but I'm not 100% sure. Is there a
> script I can run to check this? Something like checkpatch.pl in Linux? I
#!/bin/perl
while (<>) {
next if /^\+?#\s*define/;
print if /[a-zA-Z0-9_]\(/;
}
More information about the Libc-alpha
mailing list