include <sys/types> in a clean way

merge-requests/1/head
Stphane Voltz 2011-11-01 16:10:07 +01:00
rodzic 638d7750a9
commit f0e42223a7
8 zmienionych plików z 9 dodań i 10 usunięć

Wyświetl plik

@ -1,3 +1,9 @@
2011-11-01 Stéphane Voltz <stef.dev@free.fr>
* backend/genesys_gl124.c backend/genesys_gl646.c
backend/genesys_gl841.c backend/genesys_gl843.c backend/genesys_gl847.c
backend/genesys_low.c backend/genesys_low.h: do <sys/types.h> include
in a clean way
2011-10-30 Mattias Ellert <mattias.ellert@fysast.uu.se>
* backend/kvs40xx.h: Use portable endian macro from config.h
* backend/kodak.c: Use more precise path to internal headers

Wyświetl plik

@ -44,8 +44,6 @@
#include "genesys_gl124.h"
#include <sys/types.h>
/****************************************************************************
Low level function
****************************************************************************/

Wyświetl plik

@ -50,8 +50,6 @@
#include "genesys_gl646.h"
#include <sys/types.h>
/**
* returns the value hold by a 3 word register
* @param regs register set from which reading the value

Wyświetl plik

@ -60,7 +60,6 @@
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include "../include/_stdint.h"
#include "../include/sane/sane.h"

Wyświetl plik

@ -44,8 +44,6 @@
#include "genesys_gl843.h"
#include <sys/types.h>
/****************************************************************************
Low level function
****************************************************************************/

Wyświetl plik

@ -44,8 +44,6 @@
#include "genesys_gl847.h"
#include <sys/types.h>
/****************************************************************************
Low level function
****************************************************************************/

Wyświetl plik

@ -48,7 +48,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <math.h>
#include <sys/types.h>
#include "../include/sane/sane.h"
#include "../include/sane/sanei.h"

Wyświetl plik

@ -55,6 +55,9 @@
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#include "../include/sane/sane.h"
#define DBG_error0 0 /* errors/warnings printed even with devuglevel 0 */