Skip to content

Commit 5d87596

Browse files
committed
host: replace include guards with #pragma once
1 parent 49fa405 commit 5d87596

3 files changed

Lines changed: 1 addition & 6 deletions

File tree

firmware/common/rad1o/render.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ void rad1o_setIntFont(const struct FONT_DEF* font);
77
int rad1o_getFontHeight(void);
88
int rad1o_DoString(int sx, int sy, const char* s);
99
int rad1o_DoChar(int sx, int sy, int c);
10-

firmware/common/usb_queue.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,3 @@ int usb_transfer_schedule_ack(const usb_endpoint_t* const endpoint);
7878
void usb_queue_init(usb_queue_t* const queue);
7979

8080
void usb_queue_transfer_complete(usb_endpoint_t* const endpoint);
81-

host/libhackrf/src/hackrf.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABI
2121
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2222
*/
2323

24-
#ifndef __HACKRF_H__
25-
#define __HACKRF_H__
24+
#pragma once
2625

2726
#include <stdint.h>
2827
#include <sys/types.h>
@@ -2389,5 +2388,3 @@ extern ADDAPI int ADDCALL hackrf_radio_write_register(
23892388
#ifdef __cplusplus
23902389
} // __cplusplus defined.
23912390
#endif
2392-
2393-
#endif /*__HACKRF_H__*/

0 commit comments

Comments
 (0)