|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
||||||
|
||||||
|
Re: Using the extern keyword.
Quote:
/*user_routines_fast.c*/ int foo; void myfunc(){ foo=foo+1; } /*user_routines.c*/ extern int foo; void myfunc2(){ foo=foo+3; } They keyword extern is NEVER needed with function prototypes, as they are extern implicitly. -Rob |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|