git-subtree-dir: lcthw-remnants git-subtree-mainline: 4107485591a9ea2121b65d60d8a08c298451a74b git-subtree-split: e172f73c8297b22a579c94558f0c171ca74a0e5c
19 lines
380 B
C
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
|