diff options
| author | manuel <manuel@mausz.at> | 2012-03-27 11:51:08 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-03-27 11:51:08 +0200 |
| commit | 4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b (patch) | |
| tree | 868c52e06f207b5ec8a3cc141f4b8b2bdfcc165c /filesys/off_t.h | |
| parent | eae0bd57f0a26314a94785061888d193d186944a (diff) | |
| download | progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.gz progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.bz2 progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.zip | |
reorganize file structure to match the upstream requirements
Diffstat (limited to 'filesys/off_t.h')
| -rw-r--r-- | filesys/off_t.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/filesys/off_t.h b/filesys/off_t.h new file mode 100644 index 0000000..9caff4d --- /dev/null +++ b/filesys/off_t.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #ifndef FILESYS_OFF_T_H | ||
| 2 | #define FILESYS_OFF_T_H | ||
| 3 | |||
| 4 | #include <stdint.h> | ||
| 5 | |||
| 6 | /* An offset within a file. | ||
| 7 | This is a separate header because multiple headers want this | ||
| 8 | definition but not any others. */ | ||
| 9 | typedef int32_t off_t; | ||
| 10 | |||
| 11 | /* Format specifier for printf(), e.g.: | ||
| 12 | printf ("offset=%"PROTd"\n", offset); */ | ||
| 13 | #define PROTd PRId32 | ||
| 14 | |||
| 15 | #endif /* filesys/off_t.h */ | ||
