Aaron Ballman
25098736c1
Use functions with prototypes when appropriate; NFC
...
A significant number of our tests in C accidentally use functions
without prototypes. This patch converts the function signatures to have
a prototype for the situations where the test is not specific to K&R C
declarations. e.g.,
void func();
becomes
void func(void);
This is the fifth batch of tests being updated (there are a significant
number of other tests left to be updated).
Note, the behavior of -ast-print is broken. It prints functions with a
prototype (void) as if they have no prototype () in C. Some tests need
to disable strict prototype checking when recompiling the results of an
-ast-print invocation.
2022-02-09 09:11:49 -05:00
..
2018-12-03 13:29:17 +00:00
2018-12-05 17:38:39 +00:00
2020-07-01 12:51:25 +08:00
2021-08-19 14:03:41 +02:00
2012-07-27 12:56:09 +00:00
2016-02-18 15:30:24 +00:00
2013-08-12 12:51:05 +00:00
2020-08-17 10:06:36 +02:00
2018-01-19 23:41:47 +00:00
2020-03-31 18:43:24 +02:00
2012-11-19 21:13:18 +00:00
2018-10-10 10:51:48 +00:00
2017-09-08 13:36:38 +00:00
2021-05-10 11:24:27 +02:00
2022-01-13 08:06:35 +01:00
2022-01-04 16:00:22 +01:00
2022-01-11 00:58:49 +01:00
2022-01-26 15:51:17 +01:00
2013-08-12 12:51:05 +00:00
2016-03-11 21:14:40 +00:00
2018-03-09 14:43:29 +00:00
2013-08-12 12:51:05 +00:00
2013-08-12 12:51:05 +00:00
2013-08-12 12:51:05 +00:00
2021-02-08 13:16:49 +01:00
2019-11-22 12:48:06 +01:00
2017-07-19 10:45:40 +00:00
2017-12-13 10:26:49 +00:00
2021-11-10 08:22:48 +01:00
2020-02-19 17:15:11 -05:00
2020-04-06 20:08:24 +02:00
2018-01-22 17:18:28 +00:00
2020-04-14 12:58:48 +02:00
2019-05-29 15:32:17 +00:00
2019-11-22 12:48:06 +01:00
2018-04-24 13:48:53 +00:00
2019-10-04 08:10:27 +00:00
2022-01-12 10:56:06 +01:00
2013-08-12 12:51:05 +00:00
2018-04-24 13:48:53 +00:00
2013-08-12 12:51:05 +00:00
2013-08-12 12:51:05 +00:00
2010-01-13 23:24:38 +00:00
2018-10-24 12:57:27 +00:00
2018-11-20 22:06:54 +00:00
2018-04-24 13:48:53 +00:00
2020-06-26 15:55:45 +02:00
2019-05-24 10:18:39 +00:00
2018-08-30 13:08:03 +00:00
2020-06-30 16:48:24 +01:00
2011-04-23 01:04:12 +00:00
2021-09-28 10:00:15 -07:00
2017-11-08 13:05:52 +00:00
2018-11-07 10:02:31 +00:00
2018-12-07 13:17:52 +00:00
2019-02-05 12:05:53 +00:00
2012-04-16 02:51:46 +00:00
2013-08-12 12:51:05 +00:00
2022-02-09 09:11:49 -05:00
2022-01-03 16:28:16 +01:00
2019-11-15 15:42:18 +01:00
2018-12-19 18:01:24 +00:00
2017-11-08 10:39:09 +00:00
2018-04-24 13:48:53 +00:00
2018-04-24 13:48:53 +00:00
2021-11-18 15:50:47 +01:00