ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.h
(Generate patch)

Comparing libecb/ecb.h (file contents):
Revision 1.16 by root, Thu May 26 18:34:23 2011 UTC vs.
Revision 1.17 by root, Thu May 26 18:36:00 2011 UTC

1/* 1/*
2 * libecb 2 * libecb - http://software.schmorp.de/pkg/libecb
3 * 3 *
4 * Copyright (©) 2009-2011 Marc Alexander Lehmann 4 * Copyright (©) 2009-2011 Marc Alexander Lehmann
5 * Copyright (©) 2011 Emanuele Giaquinta 5 * Copyright (©) 2011 Emanuele Giaquinta
6 * All rights reserved. 6 * All rights reserved.
7 * 7 *
150 150
151#if ECB_GCC_VERSION(4,5) 151#if ECB_GCC_VERSION(4,5)
152# define ecb_unreachable() __builtin_unreachable () 152# define ecb_unreachable() __builtin_unreachable ()
153#else 153#else
154/* this seems to work fine, but gcc always emits a warning for it :/ */ 154/* this seems to work fine, but gcc always emits a warning for it :/ */
155ECB_HEADER_INLINE void ecb_unreachable (void) ecb_attribute ((noreturn)); 155ECB_HEADER_INLINE void ecb_unreachable (void) ecb_noreturn;
156ECB_HEADER_INLINE void ecb_unreachable (void) { } 156ECB_HEADER_INLINE void ecb_unreachable (void) { }
157#endif 157#endif
158 158
159ECB_HEADER_INLINE unsigned char ecb_byteorder_helper () ecb_const; 159ECB_HEADER_INLINE unsigned char ecb_byteorder_helper () ecb_const;
160ECB_HEADER_INLINE unsigned char 160ECB_HEADER_INLINE unsigned char

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines