* Added B_PRIdTIME and B_PRIiTIME macros (for time_t).

* Added FSSH_[S]SIZE_MAX to headers/private/fs_shell/fssh_types.h.
* Fixed various 64 bit compiler warnings. Nothing too serious, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34241 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-11-25 12:02:20 +00:00
parent a79e0ef1ad
commit cf844822db
16 changed files with 104 additions and 81 deletions
+3
View File
@@ -136,6 +136,9 @@ typedef uint32 perform_code;
/* ino_t */
#define B_PRIdINO B_PRId64
#define B_PRIiINO B_PRIi64
/* time_t */
#define B_PRIdTIME B_PRId32
#define B_PRIiTIME B_PRIi32
/* Empty string ("") */
+3
View File
@@ -126,6 +126,9 @@ typedef uint32 perform_code;
/* ino_t */
#define B_PRIdINO B_PRId64
#define B_PRIiINO B_PRIi64
/* time_t */
#define B_PRIdTIME B_PRId32
#define B_PRIiTIME B_PRIi32
/* Empty string ("") */
+3 -4
View File
@@ -1503,8 +1503,6 @@
#define gid_t fssh_gid_t
#define pid_t fssh_pid_t
#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS)
/* printf()/scanf() format strings for [u]int* types */
#define B_PRId8 FSSH_B_PRId8
#define B_PRIi8 FSSH_B_PRIi8
@@ -1575,8 +1573,9 @@
/* ino_t */
#define B_PRIdINO FSSH_B_PRIdINO
#define B_PRIiINO FSSH_B_PRIiINO
#endif /* !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) */
/* time_t */
#define B_PRIdTIME FSSH_B_PRId32
#define B_PRIiTIME FSSH_B_PRIi32
////////////////////////////////////////////////////////////////////////////////
+8
View File
@@ -123,6 +123,14 @@ typedef int32_t fssh_pid_t;
/* ino_t */
#define FSSH_B_PRIdINO FSSH_B_PRId64
#define FSSH_B_PRIiINO FSSH_B_PRIi64
/* time_t */
#define FSSH_B_PRIdTIME FSSH_B_PRId32
#define FSSH_B_PRIiTIME FSSH_B_PRIi32
/* limits */
#define FSSH_SIZE_MAX UINT32_MAX
#define FSSH_SSIZE_MAX INT32_MAX
#endif // _FSSH_TYPES_H