box-o-sand/oldstuff/lcthw-remnants/ex22.h
2015-06-22 13:15:42 -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