Minor cosmetic changes

DEVEL_2_0_BRANCH-1
Peter Fales 2001-10-16 00:27:31 +00:00
rodzic ba49020425
commit 9b63f8f424
1 zmienionych plików z 0 dodań i 13 usunięć

Wyświetl plik

@ -157,23 +157,10 @@ struct cam_dirent
#ifdef __GNUC__
#define UNUSEDARG __attribute__ ((unused))
#define PACKED __attribute__ ((packed))
#else
#define UNUSEDARG
/* You need to figure out a way to ensure that there are no holes
* in the following dir_buf structure - it has to match data read from
* the camera. gcc does this with __attribute__ ((packed))
*/
#error
#endif
struct dir_buf
{
SANE_Byte entries_msb PACKED;
SANE_Byte entries_lsb PACKED;
struct cam_dirent entry[1000] __attribute__ ((packed));
};
struct cam_dirlist
{
SANE_Char name[48];