Thread (7 messages) 7 messages, 3 authors, 2008-01-31

Re: [XFRM]: constify 'struct xfrm_type'

From: Eric Dumazet <hidden>
Date: 2008-01-24 18:28:50

Joe Perches a écrit :
On Thu, 2008-01-24 at 12:26 +0100, Eric Dumazet wrote:
quoted
-	struct xfrm_type *type;
+	const struct xfrm_type *type;
Perhaps const foo * const bar; for most or all of these
conversions?
Hum...

Having const data is nice because moving them from .data to .rodata,
but what would be practical gains to use a const pointer ???
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help