summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-25 21:24:58 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-25 21:24:58 -0500
commit48ed001a721a582e589b05ae03e42c561426dad3 (patch)
tree6fdd7751910b9ee92bddf45b1086f8942c1caad9
parent3afc5f1adb1c97579caa0cae112c2dba39692580 (diff)
don't use long long
-rw-r--r--src/sys/types/dev_t.c3
-rw-r--r--src/sys/types/gid_t.c3
-rw-r--r--src/sys/types/ino_t.c4
-rw-r--r--src/sys/types/nlink_t.c3
-rw-r--r--src/sys/types/off_t.c3
-rw-r--r--src/sys/types/uid_t.c3
6 files changed, 13 insertions, 6 deletions
diff --git a/src/sys/types/dev_t.c b/src/sys/types/dev_t.c
index 5a98787f..7adec7b6 100644
--- a/src/sys/types/dev_t.c
+++ b/src/sys/types/dev_t.c
@@ -1,6 +1,7 @@
#include <sys/types.h>
-typedef unsigned long long int dev_t;
+typedef unsigned long int
+ dev_t;
/*
POSIX(1)
*/
diff --git a/src/sys/types/gid_t.c b/src/sys/types/gid_t.c
index b62344a9..7cee589b 100644
--- a/src/sys/types/gid_t.c
+++ b/src/sys/types/gid_t.c
@@ -1,6 +1,7 @@
#include <sys/types.h>
-typedef unsigned long long int gid_t;
+typedef unsigned long int
+ gid_t;
/*
POSIX(1)
*/
diff --git a/src/sys/types/ino_t.c b/src/sys/types/ino_t.c
index a563dd7b..f232a979 100644
--- a/src/sys/types/ino_t.c
+++ b/src/sys/types/ino_t.c
@@ -1,6 +1,8 @@
#include <sys/types.h>
-typedef unsigned long long int ino_t;
+typedef unsigned long int
+ ino_t;
+
/*
POSIX(1)
*/
diff --git a/src/sys/types/nlink_t.c b/src/sys/types/nlink_t.c
index 68eb4f84..e94c47b4 100644
--- a/src/sys/types/nlink_t.c
+++ b/src/sys/types/nlink_t.c
@@ -1,6 +1,7 @@
#include <sys/types.h>
-typedef unsigned long long int nlink_t;
+typedef unsigned long int
+ nlink_t;
/*
POSIX(1)
*/
diff --git a/src/sys/types/off_t.c b/src/sys/types/off_t.c
index f9056020..81ce371d 100644
--- a/src/sys/types/off_t.c
+++ b/src/sys/types/off_t.c
@@ -1,6 +1,7 @@
#include <sys/types.h>
-typedef long long int off_t;
+typedef long int
+ off_t;
/*
POSIX(1)
*/
diff --git a/src/sys/types/uid_t.c b/src/sys/types/uid_t.c
index ab37f521..faf47264 100644
--- a/src/sys/types/uid_t.c
+++ b/src/sys/types/uid_t.c
@@ -1,6 +1,7 @@
#include <sys/types.h>
-typedef unsigned long long int uid_t;
+typedef unsigned long int
+ uid_t;
/*
POSIX(1)
*/