Update proc.c

merging titusbranch to johnbranch