1.6.5-warnings.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --- a/lib/epson-escpr-api.h
  2. +++ b/lib/epson-escpr-api.h
  3. @@ -111,6 +111,9 @@
  4. /*** -------------------------------------------------------------------------------*/
  5. extern EPS_ERR_CODE epsMakeMainteCmd (EPS_INT32, EPS_UINT8*, EPS_UINT32* );
  6. +extern EPS_ERR_CODE SetupJobAttrib (const EPS_JOB_ATTRIB* );
  7. +extern EPS_ERR_CODE SendStartJob (EPS_BOOL );
  8. +extern EPS_ERR_CODE PrintBand (const EPS_UINT8*, EPS_UINT32, EPS_UINT32* );
  9. #ifdef __cplusplus
  10. }
  11. #endif
  12. --- a/src/filter.c
  13. +++ b/src/filter.c
  14. @@ -33,7 +33,9 @@
  15. #include "epson-protocol.h"
  16. #include "epson-escpr-api.h"
  17. +#include "epson-escpr-services.h"
  18. #include "epson-escpr-mem.h"
  19. +#include "epson-escpage.h"
  20. #include "err.h"
  21. #include "mem.h"
  22. @@ -42,6 +44,7 @@
  23. #include "libprtX.h"
  24. #include "optBase.h"
  25. #include "linux_cmn.h"
  26. +#include "xfifo.h"
  27. #define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4)
  28. --- a/src/mem.c
  29. +++ b/src/mem.c
  30. @@ -23,6 +23,7 @@
  31. #endif
  32. #include <stdlib.h>
  33. +#include "err.h"
  34. #include "mem.h"
  35. void *