Wykres commitów

11 Commity (master)

Autor SHA1 Wiadomość Data
Peter Seiderer 7dafc52dda backend/sm3600-scanutil: fix uclibc compile (include stdarg.h for va_list/va_start/va_end)
Fixes:

  sm3600-scanutil.c: In function ‘debug_printf’:
  sm3600-scanutil.c:69:3: error: unknown type name ‘va_list’
     69 |   va_list ap;
        |   ^~~~~~~
  sm3600-scanutil.c:48:1: note: ‘va_list’ is defined in header ‘<stdarg.h>’; did you forget to ‘#include <stdarg.h>’?
     47 | #include "sm3600-scantool.h"
    +++ |+#include <stdarg.h>
     48 |
  sm3600-scanutil.c:75:3: warning: implicit declaration of function ‘va_start’; did you mean ‘sane_start’? [-Wimplicit-function-declaration]
     75 |   va_start(ap,szFormat);
        |   ^~~~~~~~
        |   sane_start
  sm3600-scanutil.c:76:28: warning: passing argument 3 of ‘vfprintf’ makes pointer from integer without a cast [-Wint-conversion]
     76 |   vfprintf(stderr,szFormat,ap);
        |                            ^~
        |                            |
        |                            int
  In file included from ../include/sane/sanei_config.h:50,
                   from sm3600.c:70:
  .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:339:23: note: expected ‘__va_list_tag *’ but argument is of type ‘int’
    339 |        __gnuc_va_list __arg);
        |        ~~~~~~~~~~~~~~~^~~~~
  In file included from sm3600.c:94:
  sm3600-scanutil.c:77:3: warning: implicit declaration of function ‘va_end’ [-Wimplicit-function-declaration]
     77 |   va_end(ap);
        |   ^~~~~~

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
2021-06-18 19:56:56 +02:00
Olaf Meeuwissen e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.

Re #320.
2021-02-12 17:41:38 +09:00
Mikolaj Kucharski 65f1131541 drop CVS keywords 2020-11-28 12:48:32 +00:00
Peter Marschall a94c17175f spelling fixes for sm3600 backend 2020-08-29 09:18:03 +02:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Henning Geinitz a2f1183de1 Removed direct dependence of sm3600 on libusb. Used sanei_usb instead. Based on
patch from Francois Revol <revol@free.fr>.  Updated documentation
accordingly. Fixed compilation warnings.
2005-08-16 19:50:34 +00:00
Henning Geinitz 27beb7d01b Fixed comment headers. They were copied verbatim from the dll backend. 2003-04-02 14:04:06 +00:00
Marian Eichholz 7e13df9195 sm3600 tree synced (eichholz@computer.org) 2002-04-15 21:30:48 +00:00
Marian Eichholz 44682ed3d4 build 3 of sm3600 2001-05-29 19:43:05 +00:00
Henning Geinitz 9904ee4f24 Made all non-sane-api functions static. Fixed some warnings.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-26 12:29:23 +00:00
Henning Geinitz 25703944ef Added sm3600 backend
(from Marian Eichholz <eichholz@computer.org>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-16 18:59:55 +00:00