Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion getopt.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
#include <stdio.h>
/* We're ANSI now; we're guaranteed to have strchr(). */
#include <string.h>
#include <unistd.h>

#define ERR(s, c) if(x_opterr){\
extern int write(int, const void *, unsigned);\
char errbuf[2];\
errbuf[0] = c; errbuf[1] = '\n';\
(void) write(2, argv[0], (unsigned)strlen(argv[0]));\
Expand Down