summaryrefslogtreecommitdiff
path: root/reference/C/EXAMPLES/extern1.c
blob: d7d2eca555194f60555effd91a03c775871784f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/************************************************************************ 
 *
 * Purpose: Part one of a two part example showing the 
 *          extern keyword in action.
 *
 * Author:  M. J. Leslie
 *
 * Date:    24-Oct-95
 *
 ************************************************************************/

void write_extern(void);

extern int count;

void write_extern(void)
{
  printf("count is %i\n", count);
}

  
t-next.git/diff/?h=nds-private-remove&id=71daabca344b503f98c59e4bdd53a818cd01f2af&id2=4506697d9f8537a8d33e9e002f8efceb32d10757'>Diffstat (limited to 'Documentation')