box-o-sand/lcthw-remnants/ex22.h
Dan Buch f2380eef05 Add 'lcthw-remnants/' from commit 'e172f73c8297b22a579c94558f0c171ca74a0e5c'
git-subtree-dir: lcthw-remnants
git-subtree-mainline: 4107485591
git-subtree-split: e172f73c82
2013-01-09 23:42:19 -05:00

19 lines
380 B
C

#ifndef _ex22_h
#define _ex22_h
// makes THE_SIZE in ex22.c available to other .c files
int THE_SIZE;
// gets and sets an internal static variable in ex22.c
int get_age();
int * get_age_pointer();
double * get_function_static(double);
void set_age(int age);
// updates a static variable that's inside update_ratio
double update_ratio(double ratio);
void print_size();
#endif