[PATCH] trivial fix in get_clockfreq for powerpc

Ulrich Drepper drepper@redhat.com
Fri Jan 6 21:39:00 GMT 2006


Tom Gall wrote:
> -  static hp_timing_t timebase_freq;
> +  static hp_timing_t timebase_freq = 0L;

You have to brush up on your C knowledge.  Static variables are
initialized to zero by default.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060106/84687a32/attachment.sig>


More information about the Libc-alpha mailing list