Skip to content

Commit 3c7b7c1

Browse files
authored
Merge pull request #12169 from HeathPetersen/syntax-corrections
syntax error corrections - rm unnecessary semicolons
2 parents a387985 + a6b0909 commit 3c7b7c1

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

hal/can_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const PinMap *can_rd_pinmap(void);
106106
const PinMap *can_td_pinmap(void);
107107

108108
#ifdef __cplusplus
109-
};
109+
}
110110
#endif
111111

112112
#endif // MBED_CAN_API_H

hal/can_helper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ struct CAN_Message {
6868
typedef struct CAN_Message CAN_Message;
6969

7070
#ifdef __cplusplus
71-
};
71+
}
7272
#endif
7373

7474
#endif

hal/crc_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ uint32_t hal_crc_get_result(void);
224224
/**@}*/
225225

226226
#ifdef __cplusplus
227-
};
227+
}
228228
#endif
229229

230230
#endif // DEVICE_CRC

platform/CircularBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ template<>
4949
struct is_unsigned<unsigned long long> {
5050
static const bool value = true;
5151
};
52-
};
52+
}
5353

5454
/** \addtogroup platform-public-api */
5555
/** @{*/

platform/mbed_retarget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ extern "C" {
592592
int mkdir(const char *name, mode_t n);
593593
#endif // !MBED_CONF_PLATFORM_STDIO_MINIMAL_CONSOLE_ONLY
594594
#if __cplusplus
595-
}; // extern "C"
595+
} // extern "C"
596596

597597
namespace mbed {
598598
#if !MBED_CONF_PLATFORM_STDIO_MINIMAL_CONSOLE_ONLY

0 commit comments

Comments
 (0)