Clean up ill-advised or unusual header guards

Cleaned up with scripts/clean-header-guards.pl.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
Markus Armbruster 2016-06-29 13:47:03 +02:00
parent 965379b455
commit 2a6a4076e1
141 changed files with 385 additions and 378 deletions

View file

@ -16,8 +16,8 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef I2C_DDC
#define I2C_DDC
#ifndef I2C_DDC_H
#define I2C_DDC_H
/* A simple I2C slave which just returns the contents of its EDID blob. */
@ -35,4 +35,4 @@ typedef struct I2CDDCState I2CDDCState;
#define TYPE_I2CDDC "i2c-ddc"
#define I2CDDC(obj) OBJECT_CHECK(I2CDDCState, (obj), TYPE_I2CDDC)
#endif /* !I2C_DDC */
#endif /* I2C_DDC_H */

View file

@ -18,8 +18,8 @@
*
*/
#ifndef __IMX_I2C_H_
#define __IMX_I2C_H_
#ifndef IMX_I2C_H
#define IMX_I2C_H
#include "hw/sysbus.h"
@ -84,4 +84,4 @@ typedef struct IMXI2CState {
uint16_t i2dr_write;
} IMXI2CState;
#endif /* __IMX_I2C_H_ */
#endif /* IMX_I2C_H */