Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
compat: make gcc bswap an inline function
author
Jonathan Nieder
<jrnieder@gmail.com>
Wed, 16 Mar 2011 07:00:49 +0000
(
02:00
-0500)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 16 Mar 2011 19:44:59 +0000
(12:44 -0700)
Without this change, gcc -pedantic warns:
cache.h: In function 'ce_to_dtype':
cache.h:270:21: warning: ISO C forbids braced-groups within expressions [-pedantic]
An inline function is more readable anyway.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
raw
|
patch
| inline |
side by side
(from:
c6c8d0b
)
No differences found