hp5400: make non-SANE-standard functions static.

merge-requests/1/head
Julien BLACHE 2005-04-10 12:20:50 +00:00
rodzic ecdbf48171
commit 5c9ba87bb1
4 zmienionych plików z 21 dodań i 17 usunięć

Wyświetl plik

@ -1,3 +1,7 @@
2005-04-10 Julien Blache <jb@jblache.org>
* backend/hp5400_xfer.h, backend/hp5400_sanei.c, backend/hp5400.c:
make non-SANE-standard functions static.
2005-04-10 Jochen Eisinger <jochen@penguin-breeder.org>
* backend/mustek_pp.c, backend/mustek_pp.conf, sanei/sanei_pa4s2.c,

Wyświetl plik

@ -53,8 +53,8 @@
#include "../include/sane/config.h"
#include "hp5400.h"
#include "hp5400_debug.h"
#include "hp5400.h"
#include "../include/sane/config.h"
#include "../include/sane/sane.h"

Wyświetl plik

@ -117,7 +117,7 @@ _UsbReadControl (int fd, int iValue, int iIndex, void *pabData, int iSize)
}
int
HP5400_SANE_STATIC int
hp5400_open (const char *filename)
{
int fd, iVendor, iProduct;

Wyświetl plik

@ -53,21 +53,21 @@
#include <stdio.h>
int hp5400_open (const char *filename);
void hp5400_close (int iHandle);
HP5400_SANE_STATIC int hp5400_open (const char *filename);
HP5400_SANE_STATIC void hp5400_close (int iHandle);
int hp5400_command_verify (int iHandle, int iCmd);
int hp5400_command_read (int iHandle, int iCmd, int iLen, void *pbData);
int hp5400_command_read_noverify (int iHandle, int iCmd, int iLen,
void *pbData);
int hp5400_command_write (int iHandle, int iCmd, int iLen, void *pbData);
void hp5400_command_write_noverify (int fd, int iValue, void *pabData,
int iSize);
int hp5400_bulk_read (int iHandle, size_t size, int block, FILE * file);
int hp5400_bulk_read_block (int iHandle, int iCmd, void *cmd, int cmdlen,
void *buffer, int len);
int hp5400_bulk_command_write (int iHandle, int iCmd, void *cmd, int cmdlen,
int len, int block, char *data);
int hp5400_isOn (int iHandle);
HP5400_SANE_STATIC int hp5400_command_verify (int iHandle, int iCmd);
HP5400_SANE_STATIC int hp5400_command_read (int iHandle, int iCmd, int iLen, void *pbData);
HP5400_SANE_STATIC int hp5400_command_read_noverify (int iHandle, int iCmd, int iLen,
void *pbData);
HP5400_SANE_STATIC int hp5400_command_write (int iHandle, int iCmd, int iLen, void *pbData);
HP5400_SANE_STATIC void hp5400_command_write_noverify (int fd, int iValue, void *pabData,
int iSize);
HP5400_SANE_STATIC int hp5400_bulk_read (int iHandle, size_t size, int block, FILE * file);
HP5400_SANE_STATIC int hp5400_bulk_read_block (int iHandle, int iCmd, void *cmd, int cmdlen,
void *buffer, int len);
HP5400_SANE_STATIC int hp5400_bulk_command_write (int iHandle, int iCmd, void *cmd, int cmdlen,
int len, int block, char *data);
HP5400_SANE_STATIC int hp5400_isOn (int iHandle);
#endif