/*chGetLbl use line arrays to get a label knowing only pointer within stack of lines */ #include #include "cddefines.h" #include "taulines.h" #include "chgetlbl.h" #include "chlinelbl.h" char* chGetLbl(long int i) { static char chGetLbl_v[11]; # ifdef DEBUG_FUN fputs( "<+>chGetLbl()\n", debug_fp ); # endif /* this is to allow addressing of line array when main * sub already has explicit set */ strcpy( chGetLbl_v, chLineLbl(&TauLines[i-1])); # ifdef DEBUG_FUN fputs( " <->chGetLbl()\n", debug_fp ); # endif return( chGetLbl_v ); }