blob: 5ac117cab1b3443a2e8b09d81231b959291531dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright 2025 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
#include "source0.h"
struct struct_in_c_file {
int X;
struct some_struct by_value;
};
/*
* Comment about open.
*/
int open()
{
return 0;
}
int close()
{
return 0;
}
void function_with_comment_in_header()
{
same_name_in_several_files();
}
int func_accepting_a_struct(struct some_struct* p)
{
return ((some_struct_t*)p)->x +
((union some_union*)p)->x;
}
|