Starting to work through ch23 ex22

This commit is contained in:
Dan Buch 2011-11-01 21:16:22 -04:00
parent c2615babf7
commit 877763c15c

16
ex22.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef _ex22_h
#define _ex22_h
// makes THE_SIZE in ex22.c available to other .c files
extern int THE_SIZE;
// gets and sets an internal static variable in ex22.c
int get_age();
void set_age(int age);
// updates a static variable that's inside update_ratio
double update_ratio(double ratio);
void print_size();
#endif