Skip to content

Commit cfe94b3

Browse files
committed
fixed function declaration
removed restrict
1 parent f5be1db commit cfe94b3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

reference/cstdio/fgets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
```cpp
77
namespace std {
8-
char* fgets( char* restrict str, int count, FILE* restrict stream );
8+
char* fgets( char* str, int count, FILE* stream );
99
}
1010
```
1111

reference/cstdio/fprintf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
```cpp
77
namespace std {
8-
int fprintf( FILE* restrict stream, const char* restrict format, ... );
8+
int fprintf( FILE* stream, const char* format, ... );
99
}
1010
```
1111

reference/cstdio/fscanf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
```cpp
77
namespace std {
8-
int fscanf( FILE* restrict stream, const char* restrict format, ... );
8+
int fscanf( FILE* stream, const char* format, ... );
99
}
1010
```
1111

reference/cstdio/printf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
```cpp
77
namespace std {
8-
int printf(const char * restrict format, ...);
8+
int printf(const char * format, ...);
99
}
1010
```
1111

reference/cstdio/scanf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
```cpp
77
namespace std {
8-
int scanf(const char * restrict format, ...);
8+
int scanf(const char * format, ...);
99
}
1010
```
1111

0 commit comments

Comments
 (0)