avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: [avr-gcc-list] Register and static variables


From: Joerg Wunsch
Subject: Re: Fw: [avr-gcc-list] Register and static variables
Date: Mon, 25 Mar 2002 18:27:51 +0100 (MET)

"Alexander Miks" <address@hidden> wrote:

> I think declaring a variable as static will globalize it over all
> source-files in the project.

Just the opposite: it will make it known only locally within that
sourcefile, while a global variable (without any explicit storage
qualifier) is globalized across all source files.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]