Skip to content

Commit

Permalink
style: update code format with newer clang-format tool
Browse files Browse the repository at this point in the history
  • Loading branch information
joelguittet committed Jul 17, 2024
1 parent 01d2b79 commit 32c3c6d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ on:
jobs:
check:
name: Check code format
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
with:
Expand Down
14 changes: 7 additions & 7 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,13 @@ main(void) {
/* Initialize mender-client */
mender_keystore_t identity[] = { { .name = "mac", .value = mac_address }, { .name = NULL, .value = NULL } };
mender_client_config_t mender_client_config = { .identity = identity,
.artifact_name = artifact_name,
.device_type = device_type,
.host = NULL,
.tenant_token = NULL,
.authentication_poll_interval = 0,
.update_poll_interval = 0,
.recommissioning = false };
.artifact_name = artifact_name,
.device_type = device_type,
.host = NULL,
.tenant_token = NULL,
.authentication_poll_interval = 0,
.update_poll_interval = 0,
.recommissioning = false };
mender_client_callbacks_t mender_client_callbacks = { .network_connect = network_connect_cb,
.network_release = network_release_cb,
.authentication_success = authentication_success_cb,
Expand Down

0 comments on commit 32c3c6d

Please sign in to comment.