mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-09 16:38:32 +01:00
Fix a few strict compiler warnings.
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
(void)argv;
|
||||
|
||||
fprintf(stderr, "write to stderr: %d\n", argc);
|
||||
printf("write to stdout\n");
|
||||
fflush(stdout);
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
Reference in New Issue
Block a user