-sys/queue.h in proc.c, and nuke the unnecessary C++ header guards stuff and

sys/cdefs.h in vis.h (it causes problems on some platforms). Reported by
someone on GitHub, issue 212.
This commit is contained in:
Nicholas Marriott 2015-11-24 18:46:50 +00:00
parent 3f47ff6ecd
commit 7b085136a7
2 changed files with 0 additions and 6 deletions

View File

@ -73,9 +73,6 @@
*/
#define UNVIS_END 1 /* no more characters */
#include <sys/cdefs.h>
__BEGIN_DECLS
char *vis(char *, int, int, int);
int strvis(char *, const char *, int);
int stravis(char **, const char *, int);
@ -85,6 +82,4 @@ int strunvis(char *, const char *);
int unvis(char *, char, int *, int);
ssize_t strnunvis(char *, const char *, size_t);
__END_DECLS
#endif /* !_VIS_H_ */

1
proc.c
View File

@ -17,7 +17,6 @@
*/
#include <sys/types.h>
#include <sys/queue.h>
#include <sys/uio.h>
#include <errno.h>