Azure / Azure/iot-hub-device-update

Mismatched include guard names

Open Beginner friendly
#907 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
61
Forks
54
Avg merge
2d 15h
Merged PRs (30d)
1

Description

## Expected Behavior
The lines at: https://github.com/Azure/iot-hub-device-update/blob/develop/src/diagnostics_component/diagnostics_devicename/inc/diagnostics_devicename.h#L9

to have the same #ifndef as the #define:

```c
#ifndef DIAGNOSTICS_DEVICENAMES_H
# define DIAGNOSTICS_DEVICENAMES_H
```

## Current Behavior
Tell us what happens instead of the expected behavior

The lines ar now mismatched

```c
#ifndef DIAGNOSTICS_DEVICENAMES_H
# define DIAGNOSTICS_DEVICENAMES_UTILS_H
```

### Device Information
* Host OS Linux (Custom Yocto Installation)
* Architecture arm64

Contributor guide

Open the contributing guide

Research direction

Open src/diagnostics_component/diagnostics_devicename/inc/diagnostics_devicename.h at the referenced lines and compare the #ifndef and #define names. Done means both guards use DIAGNOSTICS_DEVICENAMES_H consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.