You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/gscanbus/files/gscanbus-0.8-Wimplicit-func...

23 lines
386 B

--- a/decodeselfid.c
+++ b/decodeselfid.c
@@ -25,6 +25,8 @@
#include "decodeselfid.h"
+#include <string.h>
+
void printbin(FILE *stream, unsigned int i, unsigned char width) {
int j;
for (j=0; j<width; j++) {
--- a/fatal.c
+++ b/fatal.c
@@ -18,6 +18,8 @@
*/
#include "fatal.h"
+#include <stdlib.h>
+
void fatal(char *s) {
fprintf(stderr, "Error: %s\n", s);
exit(1);