Refine the preprocess conditional guard style

This commit is contained in:
Xiang Xiao 2020-01-31 23:18:05 +08:00 • committed by Gregory Nutt
parent e0dcfa0c55
commit 1154735ca6
48 changed files with 73 additions and 73 deletions

View file

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __APPS_INCLUDE_CANUTILS_OBD_H
#define __APPS_INCLUDE_CANUTILS_OBD_H 1
#define __APPS_INCLUDE_CANUTILS_OBD_H
/****************************************************************************
* Included Files

View file

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __APPS_INCLUDE_CANUTILS_OBD_FRAME_H
#define __APPS_INCLUDE_CANUTILS_OBD_FRAME_H 1
#define __APPS_INCLUDE_CANUTILS_OBD_FRAME_H
/****************************************************************************
* Pre-processor Definitions

View file

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __APPS_INCLUDE_CANUTILS_OBD_PID_H
#define __APPS_INCLUDE_CANUTILS_OBD_PID_H 1
#define __APPS_INCLUDE_CANUTILS_OBD_PID_H
/****************************************************************************
* Pre-processor Definitions

View file

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __APPS_INCLUDE_FSUTILS_FLASH_ERASEALL_H
#define __APPS_INCLUDE_FSUTILS_FLASH_ERASEALL_H 1
#define __APPS_INCLUDE_FSUTILS_FLASH_ERASEALL_H
/****************************************************************************
* Included Files

View file

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __APPS_INCLUDE_FSUTILS_PASSWD_H
#define __APPS_INCLUDE_FSUTILS_PASSWD_H 1
#define __APPS_INCLUDE_FSUTILS_PASSWD_H
/****************************************************************************
* Included Files

View file

@ -36,7 +36,7 @@
****************************************************************************/
#ifndef __APPS_INCLUDE_GRAPHICS_CURSES_H
#define __APPS_INCLUDE_GRAPHICS_CURSES_H 1
#define __APPS_INCLUDE_GRAPHICS_CURSES_H
/* PDCurses definitions list: (Only define those needed)
*
@ -1525,4 +1525,4 @@ int PDC_save_key_modifiers(bool);
}
#endif
#endif /* __APPS_INCLUDE_GRAPHICS_CURSES_H */
#endif /* __APPS_INCLUDE_GRAPHICS_CURSES_H */

View file

@ -36,7 +36,7 @@
****************************************************************************/
#ifndef __APPS_INCLUDE_GRAPHICS_PANEL_H
#define __APPS_INCLUDE_GRAPHICS_PANEL_H 1
#define __APPS_INCLUDE_GRAPHICS_PANEL_H
/****************************************************************************
* Included Files

View file

@ -34,7 +34,7 @@
/////////////////////////////////////////////////////////////////////////////
#ifndef __APPS_INCLUDE_GRAPHICS_SLCD_H
#define __APPS_INCLUDE_GRAPHICS_SLCD_H 1
#define __APPS_INCLUDE_GRAPHICS_SLCD_H
/////////////////////////////////////////////////////////////////////////////
// Included Files

View file

@ -336,4 +336,4 @@ namespace Twm4Nx
// Public Function Prototypes
/////////////////////////////////////////////////////////////////////////////
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_CICONMGR_HXX
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_CICONMGR_HXX

View file

@ -355,4 +355,4 @@ namespace Twm4Nx
};
}
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_CMENUS_HXX
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_CMENUS_HXX

View file

@ -295,4 +295,4 @@ namespace Twm4Nx
};
}
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_CRESIZE_HXX
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_CRESIZE_HXX

View file

@ -943,4 +943,4 @@ namespace Twm4Nx
uint8_t flags);
}
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_CWINDOW_HXX
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_CWINDOW_HXX

View file

@ -309,4 +309,4 @@ namespace Twm4Nx
};
}
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_CWINDOWFACTORY_HXX
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_CWINDOWFACTORY_HXX

View file

@ -68,5 +68,5 @@ namespace Twm4Nx
// Public Function Prototypes
/////////////////////////////////////////////////////////////////////////////
#endif // CONFIG_NX_SWCURSOR
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_CURSOR_HXX
#endif // CONFIG_NX_SWCURSOR
#endif // __APPS_INCLUDE_GRAPHICS_TWM4NX_TWM4NX_CURSOR_HXX

View file

@ -59,7 +59,7 @@
* for the thread. Use a default if the user provided no stacksize.
*/
#ifndef CONFIG_NETUTILS_HTTPDSTACKSIZE
#ifndef CONFIG_NETUTILS_HTTPDSTACKSIZE
# define CONFIG_NETUTILS_HTTPDSTACKSIZE 4096
#endif

View file

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __APPS_INCLUDE_NETUTILS_NTPCLIENT_H
#define __APPS_INCLUDE_NETUTILS_NTPCLIENT_H 1
#define __APPS_INCLUDE_NETUTILS_NTPCLIENT_H
/****************************************************************************
* Included Files

View file

@ -85,7 +85,7 @@
*/
#ifndef __APPS_INCLUDE_NETUTILS_TELNETC_H
#define __APPS_INCLUDE_NETUTILS_TELNETC_H 1
#define __APPS_INCLUDE_NETUTILS_TELNETC_H
/****************************************************************************
* Included Files

View file

@ -38,7 +38,7 @@
****************************************************************************/
#ifndef __APPS_INCLUDE_SYSTEM_NXPLAYER_H
#define __APPS_INCLUDE_SYSTEM_NXPLAYER_H 1
#define __APPS_INCLUDE_SYSTEM_NXPLAYER_H
/****************************************************************************
* Included Files

View file

@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __APPS_INCLUDE_SYSTEM_NXRECORDER_H
#define __APPS_INCLUDE_SYSTEM_NXRECORDER_H 1
#define __APPS_INCLUDE_SYSTEM_NXRECORDER_H
/****************************************************************************
* Included Files

View file

@ -51,7 +51,7 @@
/* Exclude setjmp */
#ifdef CONFIG_TESTING_UNITY_EXCLUDE_SETJMP
# define UNITY_EXCLUDE_SETJMP_H 1
# define UNITY_EXCLUDE_SETJMP_H
#endif
/* Enable output coloring */