Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b4d08a4 in mainline


Ignore:
Timestamp:
2017-06-09T21:39:05Z (3 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
e299dbe
Parents:
98a3879
Message:

Move the unaligned types into unaligned.h

Location:
uspace
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/sys/types.h

    r98a3879 rb4d08a4  
    4040typedef uint32_t fourcc_t;
    4141
    42 typedef int16_t unaligned_int16_t __attribute__ ((aligned(1)));
    43 typedef int32_t unaligned_int32_t __attribute__ ((aligned(1)));
    44 typedef int64_t unaligned_int64_t __attribute__ ((aligned(1)));
    45 
    46 typedef uint16_t unaligned_uint16_t __attribute__ ((aligned(1)));
    47 typedef uint32_t unaligned_uint32_t __attribute__ ((aligned(1)));
    48 typedef uint64_t unaligned_uint64_t __attribute__ ((aligned(1)));
    49 
    5042#endif
    5143
  • uspace/srv/fs/fat/fat_dentry.h

    r98a3879 rb4d08a4  
    3737#include <stdint.h>
    3838#include <stdbool.h>
    39 #include <sys/types.h>
     39#include <stddef.h>
     40#include <unaligned.h>
    4041
    4142#define IS_D_CHAR(ch) (isalnum(ch) || ch == '_')
Note: See TracChangeset for help on using the changeset viewer.