diff options
Diffstat (limited to 'meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch')
-rw-r--r-- | meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch | 122 |
1 files changed, 0 insertions, 122 deletions
diff --git a/meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch b/meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch deleted file mode 100644 index ed3e0a9e98..0000000000 --- a/meta-filesystems/recipes-utils/xfsdump/files/0002-Replace-__uint32_t-with-uint32_t.patch +++ /dev/null @@ -1,122 +0,0 @@ -From f76d2142905f0e5bd830d5d576c235af1171c6ac Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Thu, 13 Jul 2017 23:23:31 -0700 -Subject: [PATCH 2/5] Replace __uint32_t with uint32_t - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - common/content_inode.h | 4 ++-- - doc/xfsdump.html | 8 ++++---- - inventory/inv_oref.h | 2 +- - inventory/inv_priv.h | 4 ++-- - inventory/inventory.h | 2 +- - 5 files changed, 10 insertions(+), 10 deletions(-) - -diff --git a/common/content_inode.h b/common/content_inode.h -index a69a9a0..6936e05 100644 ---- a/common/content_inode.h -+++ b/common/content_inode.h -@@ -191,10 +191,10 @@ typedef struct bstat bstat_t; - * and using two 16bit values to hold new 32bit projid was choosen - * to retain compatibility with "old" filesystems). - */ --static inline __uint32_t -+static inline uint32_t - bstat_projid(struct bstat *bs) - { -- return (__uint32_t)bs->bs_projid_hi << 16 | bs->bs_projid_lo; -+ return (uint32_t)bs->bs_projid_hi << 16 | bs->bs_projid_lo; - } - - -diff --git a/doc/xfsdump.html b/doc/xfsdump.html -index 9c6722e..f85128f 100644 ---- a/doc/xfsdump.html -+++ b/doc/xfsdump.html -@@ -1935,7 +1935,7 @@ The files are constructed like so: - <pre> - typedef struct invt_counter { - INVT_COUNTER_FIELDS -- __uint32_t ic_vernum;/* on disk version number for posterity */\ -+ uint32_t ic_vernum;/* on disk version number for posterity */\ - u_int ic_curnum;/* number of sessions/invindices recorded \ - so far */ \ - u_int ic_maxnum;/* maximum number of sessions/inv_indices \ -@@ -1975,7 +1975,7 @@ typedef struct invt_fstab { - <pre> - typedef struct invt_counter { - INVT_COUNTER_FIELDS -- __uint32_t ic_vernum;/* on disk version number for posterity */\ -+ uint32_t ic_vernum;/* on disk version number for posterity */\ - u_int ic_curnum;/* number of sessions/invindices recorded \ - so far */ \ - u_int ic_maxnum;/* maximum number of sessions/inv_indices \ -@@ -2012,7 +2012,7 @@ typedef struct invt_entry { - <pre> - typedef struct invt_sescounter { - INVT_COUNTER_FIELDS -- __uint32_t ic_vernum;/* on disk version number for posterity */\ -+ uint32_t ic_vernum;/* on disk version number for posterity */\ - u_int ic_curnum;/* number of sessions/invindices recorded \ - so far */ \ - u_int ic_maxnum;/* maximum number of sessions/inv_indices \ -@@ -2034,7 +2034,7 @@ typedef struct invt_seshdr { - off64_t sh_streams_off; /* offset to start of the set of - stream hdrs */ - time_t sh_time; /* time of the dump */ -- __uint32_t sh_flag; /* for misc flags */ -+ uint32_t sh_flag; /* for misc flags */ - u_char sh_level; /* dump level */ - u_char sh_pruned; /* pruned by invutil flag */ - char sh_padding[22]; -diff --git a/inventory/inv_oref.h b/inventory/inv_oref.h -index e16684d..38303a4 100644 ---- a/inventory/inv_oref.h -+++ b/inventory/inv_oref.h -@@ -46,7 +46,7 @@ - - - --typedef __uint32_t invt_objtype_t; -+typedef uint32_t invt_objtype_t; - - #define INVT_LOCKED 0x0001 - -diff --git a/inventory/inv_priv.h b/inventory/inv_priv.h -index 1690271..364ffbc 100644 ---- a/inventory/inv_priv.h -+++ b/inventory/inv_priv.h -@@ -120,7 +120,7 @@ typedef struct invt_seshdr { - off64_t sh_streams_off; /* offset to start of the set of - stream hdrs */ - time32_t sh_time; /* time of the dump */ -- __uint32_t sh_flag; /* for misc flags */ -+ uint32_t sh_flag; /* for misc flags */ - u_char sh_level; /* dump level */ - u_char sh_pruned; /* pruned by invutil flag */ - char sh_padding[22]; -@@ -184,7 +184,7 @@ typedef struct invt_entry { - - /* Cheap Inheritance, and an attempt to avoid a nested type */ - #define INVT_COUNTER_FIELDS \ -- __uint32_t ic_vernum;/* on disk version number for posterity */\ -+ uint32_t ic_vernum;/* on disk version number for posterity */\ - uint ic_curnum;/* number of sessions/invindices recorded \ - so far */ \ - uint ic_maxnum;/* maximum number of sessions/inv_indices \ -diff --git a/inventory/inventory.h b/inventory/inventory.h -index 134b9ba..c1d7403 100644 ---- a/inventory/inventory.h -+++ b/inventory/inventory.h -@@ -43,7 +43,7 @@ - /* length of labels, mntpts, etc */ - #define INV_STRLEN GLOBAL_HDR_STRING_SZ - --typedef __uint32_t inv_version_t; -+typedef uint32_t inv_version_t; - - /* This is the general inventory version. - */ --- -2.13.2 - |