Canonicalize config.h include

Use the following variant which was already used by most source files:

  #ifdef HAVE_CONFIG_H
  #include "config.h"
  #endif
This commit is contained in:
Sebastian Huber
2020-04-15 09:48:32 +02:00
parent 8f808c1b9a
commit 80cf60efec
1324 changed files with 1520 additions and 1520 deletions

View File

@@ -20,8 +20,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dev/i2c/eeprom.h>

View File

@@ -12,8 +12,8 @@
* https://github.com/oetr/FPGA-I2C-Slave
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dev/i2c/i2c.h>

View File

@@ -20,8 +20,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dev/i2c/gpio-nxp-pca9535.h>

View File

@@ -20,8 +20,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dev/i2c/i2c.h>

View File

@@ -20,8 +20,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dev/i2c/i2c.h>

View File

@@ -20,7 +20,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -20,8 +20,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dev/i2c/switch-nxp-pca9548a.h>

View File

@@ -7,8 +7,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h>

View File

@@ -7,8 +7,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>

View File

@@ -7,8 +7,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>

View File

@@ -20,8 +20,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dev/spi/spi.h>

View File

@@ -6,7 +6,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -186,7 +186,7 @@
* x5z Filesystem status.
*************************************************************************/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -27,7 +27,7 @@
*/
#define RTEMS_BDBUF_TRACE 0
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <limits.h>

View File

@@ -20,7 +20,7 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
#endif
#include <stdio.h>

View File

@@ -19,8 +19,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/blkdev.h>

View File

@@ -19,8 +19,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/stat.h>

View File

@@ -10,8 +10,8 @@
* Author: Victor V. Vengerov <vvv@oktet.ru>
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <errno.h>

View File

@@ -19,8 +19,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/blkdev.h>

View File

@@ -10,7 +10,7 @@
* Author: Victor V. Vengerov <vvv@oktet.ru>
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -19,8 +19,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/blkdev.h>

View File

@@ -13,7 +13,7 @@
* Copyright (c) 2009, 2017 embedded brains GmbH.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -31,7 +31,7 @@
* extra parameter was avoided.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -17,7 +17,7 @@
*
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -11,7 +11,7 @@
* Copyright 2007 Chris Johns (chrisj@rtems.org)
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -13,7 +13,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -21,7 +21,7 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
#endif
#include <stdlib.h>

View File

@@ -21,7 +21,7 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
#endif
#include <rtems/ramdisk.h>

View File

@@ -24,7 +24,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup libcsupport
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -17,8 +17,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/stat.h>

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -9,7 +9,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -17,7 +17,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -6,7 +6,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup Associativity
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -3,7 +3,7 @@
* rtems assoc routines
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup SET
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup Associativity
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup Associativity
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup Associativity
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup Associativity
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup Associativity
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup Associativity
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup Associativity
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -3,7 +3,7 @@
* rtems assoc routines
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup Associativity
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -6,7 +6,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -17,7 +17,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -18,8 +18,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems.h>

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -13,7 +13,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -17,8 +17,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h>

View File

@@ -14,8 +14,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/stat.h>

View File

@@ -17,8 +17,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h>

View File

@@ -19,8 +19,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>

View File

@@ -12,7 +12,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -19,8 +19,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h>

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup ErrorPanicSupport
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -17,8 +17,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h>

View File

@@ -14,8 +14,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <sys/stat.h>

View File

@@ -14,8 +14,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>

View File

@@ -14,8 +14,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdarg.h>

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -12,7 +12,7 @@
* is freely granted, provided that this notice is preserved.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -16,8 +16,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtems/libio_.h>

View File

@@ -9,7 +9,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,8 +14,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h>

View File

@@ -6,7 +6,7 @@
* is freely granted, provided that this notice is preserved.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -13,7 +13,7 @@
* is freely granted, provided that this notice is preserved.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -14,7 +14,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup libcsupport
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup libcsupport
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -5,7 +5,7 @@
* @ingroup libcsupport
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@@ -18,7 +18,7 @@
* http://www.rtems.org/license/LICENSE.
*/
#if HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

Some files were not shown because too many files have changed in this diff Show More