added prototypes for pd allocation routines