[LCP]storage classifiers

Angus Mackay amackay at gusnet.cx
Fri Jul 13 03:54:05 UTC 2001


this:
  extern int i=100;
is the exact same as saying this:
  extern int i;
  int i=100;

but gcc should warn you about the first one.

you have to be able to declare something extern then declare the real thing so
that it is easy to do header files that declare the extern but still allow you
(the declaror of the real thing) to include that header file.

cheers, Angus.



More information about the linuxCprogramming mailing list