Skip to content

Commit 2335277

Browse files
committed
add forward declaration
1 parent 9441ae3 commit 2335277

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/incomplete-type.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ will compile and run fine.
7171
```C
7272
#include <stdio.h>
7373
74+
struct x;
75+
7476
struct x *
7577
myfn(struct x *p)
7678
{

0 commit comments

Comments
 (0)