]> git.pld-linux.org Git - packages/partimage.git/blob - partimage-types.patch
- fix for types definition
[packages/partimage.git] / partimage-types.patch
1 --- partimage-0.6.1/src/client/fs/fs_xfs.h.orig Mon Sep  2 16:30:34 2002
2 +++ partimage-0.6.1/src/client/fs/fs_xfs.h      Mon Sep  2 16:32:00 2002
3 @@ -19,6 +19,7 @@
4  #define FS_XFS_H
5  
6  #include <ctype.h>
7 +#include <stdint.h>
8  
9  #include "partimage.h"
10  #include "common.h"
11 @@ -99,14 +100,6 @@
12  #define        XFS_BTNUM_INO   ((xfs_btnum_t)XFS_BTNUM_INOi)
13  
14  #define        XFS_SB_MAGIC            0x58465342      // 'XFSB'
15 -typedef signed char    __int8_t;
16 -typedef unsigned char  __uint8_t;
17 -typedef signed short int       __int16_t;
18 -typedef unsigned short int     __uint16_t;
19 -typedef signed int     __int32_t;
20 -typedef unsigned int   __uint32_t;
21 -typedef signed long long int   __int64_t;
22 -typedef unsigned long long int __uint64_t;
23  
24  // POSIX Extensions
25  typedef unsigned char  uchar_t;
26 @@ -149,8 +142,8 @@
27  typedef        __uint64_t      xfs_dfiloff_t;  // block number in a file 
28  typedef        __uint64_t      xfs_dfilblks_t; // number of blocks in a file 
29  
30 -typedef unsigned long long  __u64; 
31 -typedef signed long long    __s64; 
32 +typedef __uint64_t  __u64; 
33 +typedef __int64_t   __s64; 
34  
35  typedef __u64  xfs_off_t;
36  //typedef __s32        xfs32_off_t;
This page took 0.080314 seconds and 3 git commands to generate.