Re: [PATCH] hex <-> int conversion routines.

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Feb 19 2002 - 14:04:23 EST


Followup to: <02021919493204.00447@jakob>
By author: Jakob Kemi <jakob.kemi@telia.com>
In newsgroup: linux.dev.kernel
>
> GCC doesn't copy const strings, as opposed to other const arrays.
> So it should be fine as it is. GCC also reuse duplicated strings.
>

It's still manifest once per file, I believe.

I would suggest making the array an extern instead.

  -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:21 EST