-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provisioning_client: explicitly states function prototypes (#2012)
* provisioning_client: explicitly states function prototypes When building with `-Wstrict-prototypes` flag enabled, functions with no explicit prototype are reported (i.e. `()` instead of `(void)`). Replacing the empty parenthesis with the correct form of declaring a function without arguments fixes the issue. Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com> * tests: provisioning_hsm.c update functions' signature Update signatures of function marked with empty argument list instead of explicitly states that they have no argument at all (i.e. `()` versus `(void)` ). This should make the code more compliant with language specifications and also suppresses warnings in more pedantic compilers. Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com> * tests: symm_key: update function signatures explicitly states with `(void)` when functions do not accept arguments. Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com> * tests: tpm_msr: update functions signatures explicitly states with `(void)` when functions do not accept arguments. Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com> * tests: x509: update functions signature Explicitly states with `(void)` that functions do not accept arguments. Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com> Co-authored-by: Eric Wolz <ericwol@microsoft.com>
- Loading branch information
1 parent
6efdea2
commit 29d2ae4
Showing
10 changed files
with
48 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters