]> git.pld-linux.org Git - packages/partimage.git/commitdiff
- fix for types definition
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 2 Sep 2002 14:37:54 +0000 (14:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    partimage-types.patch -> 1.1

partimage-types.patch [new file with mode: 0644]

diff --git a/partimage-types.patch b/partimage-types.patch
new file mode 100644 (file)
index 0000000..27981fb
--- /dev/null
@@ -0,0 +1,36 @@
+--- partimage-0.6.1/src/client/fs/fs_xfs.h.orig        Mon Sep  2 16:30:34 2002
++++ partimage-0.6.1/src/client/fs/fs_xfs.h     Mon Sep  2 16:32:00 2002
+@@ -19,6 +19,7 @@
+ #define FS_XFS_H
+ #include <ctype.h>
++#include <stdint.h>
+ #include "partimage.h"
+ #include "common.h"
+@@ -99,14 +100,6 @@
+ #define       XFS_BTNUM_INO   ((xfs_btnum_t)XFS_BTNUM_INOi)
+ #define       XFS_SB_MAGIC            0x58465342      // 'XFSB'
+-typedef signed char   __int8_t;
+-typedef unsigned char __uint8_t;
+-typedef signed short int      __int16_t;
+-typedef unsigned short int    __uint16_t;
+-typedef signed int    __int32_t;
+-typedef unsigned int  __uint32_t;
+-typedef signed long long int  __int64_t;
+-typedef unsigned long long int        __uint64_t;
+ // POSIX Extensions
+ typedef unsigned char uchar_t;
+@@ -149,8 +142,8 @@
+ typedef       __uint64_t      xfs_dfiloff_t;  // block number in a file 
+ typedef       __uint64_t      xfs_dfilblks_t; // number of blocks in a file 
+-typedef unsigned long long  __u64; 
+-typedef signed long long    __s64; 
++typedef __uint64_t  __u64; 
++typedef __int64_t   __s64; 
+ typedef __u64 xfs_off_t;
+ //typedef __s32       xfs32_off_t;
This page took 0.527652 seconds and 4 git commands to generate.