commit | f0f0b063f0a6af814f3b3cc3872a69830d58980c | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Wed Jan 10 21:41:40 2024 -0500 |
committer | Mike Frysinger <vapier@gentoo.org> | Wed Jan 10 22:30:58 2024 -0500 |
tree | 8bc326fcde05b4fc6d520ec275d958684e0b46e7 | |
parent | 761ed61e7bcdd1579942482e0c035ca7773fc892 [diff] |
sim: igen: add printf attributes to the prototypes too While gcc propagates the printf attribute via the typedef, clang doesn't seem to, so add it to the prototypes themselves too. We still keep it on the prototype for cases where it's used as a variable.