Skip to content

Commit 6075d74

Browse files
committed
Fix test format
1 parent c0ba6a7 commit 6075d74

File tree

1 file changed

+2
-4
lines changed
  • c/cert/test/rules/SIG30-C

1 file changed

+2
-4
lines changed

c/cert/test/rules/SIG30-C/test.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ void handler1(int signum) {
1313
}
1414

1515
int f1(void) {
16-
if (signal(SIGINT, handler1) == SIG_ERR)
17-
{
16+
if (signal(SIGINT, handler1) == SIG_ERR) {
1817
//...
1918
}
2019

@@ -113,8 +112,7 @@ int f6(void) {
113112
// ...
114113
}
115114

116-
if (raise(SIGINT) != 0)
117-
{
115+
if (raise(SIGINT) != 0) {
118116
// ...
119117
}
120118

0 commit comments

Comments
 (0)