~mirabilos/klibc/master

« back to all changes in this revision

Viewing changes to include/bits32/bitsize/stdint.h

  • Committer: H. Peter Anvin
  • Date: 2006-05-01 00:56:02 UTC
  • Revision ID: git-v1:5dea5e01daaaff0685016f23b5cb46240f28e792
[klibc] Reorganize the standalone klibc tree to match the in-kernel tree

Right now, it's harder than it should to apply and test patches using
the standalone klibc tree.  Reorganize the standalone tree to match
the in-kernel tree.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * bits32/stdint.h
3
 
 */
4
 
 
5
 
#ifndef _BITSIZE_STDINT_H
6
 
#define _BITSIZE_STDINT_H
7
 
 
8
 
typedef signed char             int8_t;
9
 
typedef short int               int16_t;
10
 
typedef int                     int32_t;
11
 
typedef long long int           int64_t;
12
 
 
13
 
typedef unsigned char           uint8_t;
14
 
typedef unsigned short int      uint16_t;
15
 
typedef unsigned int            uint32_t;
16
 
typedef unsigned long long int  uint64_t;
17
 
 
18
 
typedef int                     int_fast16_t;
19
 
typedef int                     int_fast32_t;
20
 
 
21
 
typedef unsigned int            uint_fast16_t;
22
 
typedef unsigned int            uint_fast32_t;
23
 
 
24
 
typedef int                     intptr_t;
25
 
typedef unsigned int            uintptr_t;
26
 
 
27
 
#define __INT64_C(c)   c ## LL
28
 
#define __UINT64_C(c)  c ## ULL
29
 
 
30
 
#define __PRI64_RANK   "ll"
31
 
#define __PRIFAST_RANK ""
32
 
#define __PRIPTR_RANK  ""
33
 
 
34
 
#endif /* _BITSIZE_STDINT_H */