Merge pull request #180 from tmatth/unused

Drop unused includes
This commit is contained in:
Josh Aas
2016-05-25 13:52:28 +02:00
2 changed files with 0 additions and 8 deletions

View File

@@ -33,11 +33,7 @@
/* gcc -std=c99 jpegyuv.c -I/opt/local/include/ -L/opt/local/lib/ -ljpeg -o jpegyuv */ /* gcc -std=c99 jpegyuv.c -I/opt/local/include/ -L/opt/local/lib/ -ljpeg -o jpegyuv */
#include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <inttypes.h>
#include <sys/stat.h>
#include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include "jpeglib.h" #include "jpeglib.h"
@@ -71,8 +67,6 @@ int main(int argc, char *argv[]) {
return 1; return 1;
} }
errno = 0;
/* Will check these for validity when opening via 'fopen'. */ /* Will check these for validity when opening via 'fopen'. */
jpg_path = argv[1]; jpg_path = argv[1];
yuv_path = argv[2]; yuv_path = argv[2];

View File

@@ -34,8 +34,6 @@
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <inttypes.h>
#include <sys/stat.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>