Skip to content

Conversation

N11cc00
Copy link
Contributor

@N11cc00 N11cc00 commented Mar 31, 2025

Contribution description

This is part of the greater effort to fix the headers according to #21335. It only covers the header files in sys/include.

I needed to edit some (~10) files manually. So before merging this needs to be checked. I receive some CI errors @mguetschow.

@github-actions github-actions bot added Area: network Area: Networking Area: BLE Area: Bluetooth Low Energy support Area: timers Area: timer subsystems Area: LoRa Area: LoRa radio support Area: SAUL Area: Sensor/Actuator Uber Layer Area: OTA Area: Over-the-air updates Area: CoAP Area: Constrained Application Protocol implementations Area: USB Area: Universal Serial Bus Area: sys Area: System labels Mar 31, 2025
@maribu maribu added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Mar 31, 2025
@riot-ci
Copy link

riot-ci commented Mar 31, 2025

Murdock results

FAILED

2ecaaaa sys/include: fix headers for clang-format

Build failures (1)
Application Target Toolchain Runtime (s) Worker
tests/sys/suit_manifest msb-430 gnu 2.64 alien

Artifacts

Copy link
Contributor

@mguetschow mguetschow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skimmed over it, I hope I caught everything. Thanks for doing this!

Comment on lines +8 to +14
#ifndef RIOTBOOT_BOOTLOADER_SELECTION_H
#define RIOTBOOT_BOOTLOADER_SELECTION_H

/* Include guards and cplusplus are more of a formality; this header is local
* to the riotboot_dfu application that isn't written in C++ and not included
* from anywhere else either, but still here for consistency (and because
* otherwise the checks complain) */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#ifndef RIOTBOOT_BOOTLOADER_SELECTION_H
#define RIOTBOOT_BOOTLOADER_SELECTION_H
/* Include guards and cplusplus are more of a formality; this header is local
* to the riotboot_dfu application that isn't written in C++ and not included
* from anywhere else either, but still here for consistency (and because
* otherwise the checks complain) */
#ifndef RIOTBOOT_BOOTLOADER_SELECTION_H
#define RIOTBOOT_BOOTLOADER_SELECTION_H
/* Include guards and cplusplus are more of a formality; this header is local
* to the riotboot_dfu application that isn't written in C++ and not included
* from anywhere else either, but still here for consistency (and because
* otherwise the checks complain) */

Comment on lines +11 to +13
#ifndef SUIT_TRANSPORT_WORKER_H
#define SUIT_TRANSPORT_WORKER_H

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one is copied, not moved. That should fix the failing test.

@mguetschow
Copy link
Contributor

Let's put this on hold according to #21335 (comment)

@mguetschow mguetschow marked this pull request as draft April 4, 2025 08:50
@N11cc00 N11cc00 closed this May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: BLE Area: Bluetooth Low Energy support Area: CoAP Area: Constrained Application Protocol implementations Area: LoRa Area: LoRa radio support Area: network Area: Networking Area: OTA Area: Over-the-air updates Area: SAUL Area: Sensor/Actuator Uber Layer Area: sys Area: System Area: timers Area: timer subsystems Area: USB Area: Universal Serial Bus CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants