Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(763)

Unified Diff: fusl/arch/x32/bits/shm.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/arch/x32/bits/shm.h
diff --git a/fusl/arch/x32/bits/shm.h b/fusl/arch/x32/bits/shm.h
index 8fa9e73debfb53de76bdd4f9eacbba1ad5906e5c..25cf7fccc16d65abfc544ce2c05fa2f89bf2e810 100644
--- a/fusl/arch/x32/bits/shm.h
+++ b/fusl/arch/x32/bits/shm.h
@@ -1,31 +1,30 @@
#define SHMLBA 4096
-struct shmid_ds
-{
- struct ipc_perm shm_perm;
- size_t shm_segsz;
- time_t shm_atime;
- time_t shm_dtime;
- time_t shm_ctime;
- pid_t shm_cpid;
- pid_t shm_lpid;
- unsigned long shm_nattch;
- unsigned long __pad0;
- unsigned long long __pad1;
- unsigned long long __pad2;
+struct shmid_ds {
+ struct ipc_perm shm_perm;
+ size_t shm_segsz;
+ time_t shm_atime;
+ time_t shm_dtime;
+ time_t shm_ctime;
+ pid_t shm_cpid;
+ pid_t shm_lpid;
+ unsigned long shm_nattch;
+ unsigned long __pad0;
+ unsigned long long __pad1;
+ unsigned long long __pad2;
};
struct shminfo {
- unsigned long shmmax, __pad0, shmmin, __pad1, shmmni, __pad2,
- shmseg, __pad3, shmall, __pad4;
- unsigned long long __unused[4];
+ unsigned long shmmax, __pad0, shmmin, __pad1, shmmni, __pad2, shmseg, __pad3,
+ shmall, __pad4;
+ unsigned long long __unused[4];
};
struct shm_info {
- int __used_ids;
- int __pad_ids;
- unsigned long shm_tot, __pad0, shm_rss, __pad1, shm_swp, __pad2;
- unsigned long __swap_attempts, __pad3, __swap_successes, __pad4;
+ int __used_ids;
+ int __pad_ids;
+ unsigned long shm_tot, __pad0, shm_rss, __pad1, shm_swp, __pad2;
+ unsigned long __swap_attempts, __pad3, __swap_successes, __pad4;
}
#ifdef __GNUC__
__attribute__((__aligned__(8)))

Powered by Google App Engine
This is Rietveld 408576698