Skip to content

Commit 976f91d

Browse files
committed
host: replace include guards with #pragma once
1 parent 887eda0 commit 976f91d

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
@@ -9,4 +9,3 @@ void rad1o_setIntFont(const struct FONT_DEF* font);
99
int rad1o_getFontHeight(void);
1010
int rad1o_DoString(int sx, int sy, const char* s);
1111
int rad1o_DoChar(int sx, int sy, int c);
12-

firmware/common/usb_queue.h

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

8282
void usb_queue_transfer_complete(usb_endpoint_t* const endpoint);
83-

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)