Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1039)

Side by Side Diff: src/gphoto2-endian.h

Issue 2364793002: Revert "Uprev libmtp to 1.1.12" (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libmtp@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/device-flags.h ('k') | src/libmtp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This file is generated automatically by configure */ 1 /* This file is generated automatically by configure */
2 /* It is valid only for the system type x86_64-suse-linux-gnu */ 2 /* It is valid only for the system type x86_64-unknown-linux-gnu */
3 3
4 #ifndef __BYTEORDER_H 4 #ifndef __BYTEORDER_H
5 #define __BYTEORDER_H 5 #define __BYTEORDER_H
6 6
7 /* ntohl and relatives live here */ 7 /* ntohl and relatives live here */
8 #include <arpa/inet.h> 8 #include <arpa/inet.h>
9 9
10 /* Define generic byte swapping functions */ 10 /* Define generic byte swapping functions */
11 #include <byteswap.h> 11 #include <byteswap.h>
12 #define swap16(x) bswap_16(x) 12 #define swap16(x) bswap_16(x)
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 (a)[6]=(uint8_t)((x)>>8), (a)[7]=(uint8_t)(x) 115 (a)[6]=(uint8_t)((x)>>8), (a)[7]=(uint8_t)(x)
116 #define htole16a(a,x) (a)[1]=(uint8_t)((x)>>8), (a)[0]=(uint8_t)(x) 116 #define htole16a(a,x) (a)[1]=(uint8_t)((x)>>8), (a)[0]=(uint8_t)(x)
117 #define htole32a(a,x) (a)[3]=(uint8_t)((x)>>24), (a)[2]=(uint8_t)((x)>>16), \ 117 #define htole32a(a,x) (a)[3]=(uint8_t)((x)>>24), (a)[2]=(uint8_t)((x)>>16), \
118 (a)[1]=(uint8_t)((x)>>8), (a)[0]=(uint8_t)(x) 118 (a)[1]=(uint8_t)((x)>>8), (a)[0]=(uint8_t)(x)
119 #define htole64a(a,x) (a)[7]=(uint8_t)((x)>>56), (a)[6]=(uint8_t)((x)>>48), \ 119 #define htole64a(a,x) (a)[7]=(uint8_t)((x)>>56), (a)[6]=(uint8_t)((x)>>48), \
120 (a)[5]=(uint8_t)((x)>>40), (a)[4]=(uint8_t)((x)>>32), \ 120 (a)[5]=(uint8_t)((x)>>40), (a)[4]=(uint8_t)((x)>>32), \
121 (a)[3]=(uint8_t)((x)>>24), (a)[2]=(uint8_t)((x)>>16), \ 121 (a)[3]=(uint8_t)((x)>>24), (a)[2]=(uint8_t)((x)>>16), \
122 (a)[1]=(uint8_t)((x)>>8), (a)[0]=(uint8_t)(x) 122 (a)[1]=(uint8_t)((x)>>8), (a)[0]=(uint8_t)(x)
123 123
124 #endif /*__BYTEORDER_H*/ 124 #endif /*__BYTEORDER_H*/
OLDNEW
« no previous file with comments | « src/device-flags.h ('k') | src/libmtp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698