Daniel P. Berrangé
4cfd709021
Fix many mistakes & inconsistencies in header file layout
...
This introduces a syntax-check script that validates header files use a
common layout:
/*
...copyright header...
*/
<one blank line>
#ifndef SYMBOL
# define SYMBOL
....content....
#endif /* SYMBOL */
For any file ending priv.h, before the #ifndef, we will require a
guard to prevent bogus imports:
#ifndef SYMBOL_ALLOW
# error ....
#endif /* SYMBOL_ALLOW */
<one blank line>
The many mistakes this script identifies are then fixed.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-12-14 10:46:53 +00:00
..
2018-01-11 18:53:04 +01:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:46:53 +00:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2009-09-21 14:41:45 +01:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2018-04-24 10:46:41 +02:00
2018-04-12 16:52:01 +01:00
2018-08-24 10:52:41 +02:00
2009-09-21 14:41:45 +01:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:46:53 +00:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2018-11-19 07:26:40 -05:00
2015-08-14 15:45:44 +02:00
2018-11-19 07:26:40 -05:00
2018-05-24 13:36:32 +02:00
2018-03-08 16:51:31 +01:00
2018-11-29 11:46:42 +01:00
2012-09-20 16:30:55 -06:00
2018-09-24 09:09:14 +02:00
2017-11-03 13:24:12 +01:00
2018-09-24 09:09:14 +02:00
2017-11-03 13:24:12 +01:00
2018-05-24 15:26:10 +02:00
2018-05-24 15:26:10 +02:00
2018-09-24 09:09:14 +02:00
2018-06-26 11:22:07 +01:00
2018-09-24 09:09:14 +02:00
2018-05-24 15:26:02 +02:00
2018-09-24 09:09:14 +02:00
2018-05-24 13:32:25 +02:00
2018-09-24 09:09:14 +02:00
2012-09-20 16:30:55 -06:00
2018-06-05 18:44:05 +02:00
2017-05-18 07:42:13 +02:00
2018-09-24 09:09:14 +02:00
2017-11-03 13:24:12 +01:00
2018-12-05 10:39:54 +01:00
2018-09-26 17:22:38 +02:00
2018-11-26 19:33:01 -05:00
2018-01-11 18:53:04 +01:00
2018-12-14 10:46:53 +00:00
2018-12-13 16:08:38 +00:00
2015-12-21 10:07:59 +01:00
2017-10-16 10:22:34 +01:00
2018-09-20 10:16:38 +02:00
2017-03-11 21:22:58 +04:00
2018-10-08 09:55:40 +02:00
2018-10-05 15:53:29 +02:00
2018-10-05 15:53:29 +02:00
2016-05-11 09:06:32 +02:00
2018-10-05 15:53:29 +02:00
2016-05-11 09:06:32 +02:00
2018-09-20 10:16:39 +02:00
2017-10-16 10:22:34 +01:00
2018-09-20 10:16:39 +02:00
2016-06-10 11:03:02 +01:00
2017-10-16 10:22:34 +01:00
2018-12-11 14:58:43 +00:00
2017-10-16 10:22:34 +01:00
2016-04-25 15:40:43 +02:00
2017-10-16 10:22:34 +01:00
2018-07-19 16:16:57 -04:00
2018-07-19 16:16:57 -04:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2018-10-12 09:30:56 -05:00
2018-09-20 10:16:39 +02:00