Re: [bug-gnulib] style question - const char *

2006-01-06 Thread Bruno Haible
Paul Eggert wrote on 2005-11-18: I prefer putting type qualifiers like const after the types they modify, as that's more consistent. ... Not everyone agrees with this style, but I suspect this is often because they haven't thought through the consistency issues. While I know that char const

Re: style question - const char *

2005-12-01 Thread Bob Proulx
Jim Meyering wrote: Paul Eggert [EMAIL PROTECTED] wrote: Eric Blake [EMAIL PROTECTED] writes: Is there a preference for 'const char *' over 'char const *'? I prefer putting type qualifiers like const after the types they modify, as that's more consistent. For example, char * const *

Re: style question - const char *

2005-11-18 Thread Jim Meyering
Paul Eggert [EMAIL PROTECTED] wrote: Eric Blake [EMAIL PROTECTED] writes: Is there a preference for 'const char *' over 'char const *'? I prefer putting type qualifiers like const after the types they modify, as that's more consistent. For example, char * const * puts As you've probably

style question - const char *

2005-11-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a preference for 'const char *' over 'char const *'? A quick grep of my locally-modified gnulib repository shows 208 char const * vs. 793 const char * in the .c and .h files. The GNU Coding Standards offer no help -

Re: style question - const char *

2005-11-17 Thread Paul Eggert
Eric Blake [EMAIL PROTECTED] writes: Is there a preference for 'const char *' over 'char const *'? I prefer putting type qualifiers like const after the types they modify, as that's more consistent. For example, char * const * puts the const after the char *, where it belongs. Similarly, char