diff options
| author | Meco Man <[email protected]> | 2021-05-22 02:50:35 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-05-22 02:50:35 +0800 |
| commit | a5f7635f31b237ad8ce09610ee76a75f4072e7d4 (patch) | |
| tree | 970e831792484a13cc3dfc28d218ec65c6f757b1 /examples/libc | |
| parent | 126af8e43c8a84d625cb9043c1fbb3d8f3016030 (diff) | |
remove libc_errno.h & libc_limits.h
Diffstat (limited to 'examples/libc')
| -rw-r--r-- | examples/libc/ex3.c | 2 | ||||
| -rw-r--r-- | examples/libc/ex6.c | 2 | ||||
| -rw-r--r-- | examples/libc/ex7.c | 2 | ||||
| -rw-r--r-- | examples/libc/file.c | 2 | ||||
| -rw-r--r-- | examples/libc/memory.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/libc/ex3.c b/examples/libc/ex3.c index 1697e7145b..615ed8f35c 100644 --- a/examples/libc/ex3.c +++ b/examples/libc/ex3.c @@ -9,7 +9,7 @@ /* Multi-thread searching. Illustrates: thread cancellation, cleanup handlers. */ -#include <errno.h> +#include <sys/errno.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> diff --git a/examples/libc/ex6.c b/examples/libc/ex6.c index ac6319d74c..ba687aa46f 100644 --- a/examples/libc/ex6.c +++ b/examples/libc/ex6.c @@ -6,7 +6,7 @@ * Change Logs: * Date Author Notes */ -#include <errno.h> +#include <sys/errno.h> #include <stdio.h> #include <string.h> #include <pthread.h> diff --git a/examples/libc/ex7.c b/examples/libc/ex7.c index e885f79c57..d1f05dbdcd 100644 --- a/examples/libc/ex7.c +++ b/examples/libc/ex7.c @@ -11,7 +11,7 @@ * Test case that illustrates a timed wait on a condition variable. */ -#include <errno.h> +#include <sys/errno.h> #include <stdio.h> #include <string.h> #include <pthread.h> diff --git a/examples/libc/file.c b/examples/libc/file.c index 79cdce3092..878d3a98d7 100644 --- a/examples/libc/file.c +++ b/examples/libc/file.c @@ -11,7 +11,7 @@ #include <stdio.h> #include <stdlib.h> #include <finsh.h> -#include <errno.h> +#include <sys/errno.h> #include <sys/fcntl.h> #include <sys/stat.h> diff --git a/examples/libc/memory.c b/examples/libc/memory.c index 063d90cfdc..4a31b69017 100644 --- a/examples/libc/memory.c +++ b/examples/libc/memory.c @@ -11,7 +11,7 @@ #include <stdio.h> #include <stdlib.h> #include <finsh.h> -#include <errno.h> +#include <sys/errno.h> static int errors = 0; static void merror(const char *msg) |
