KillPDB.c



PDB *KillPDB(PDB *pdb, PDB *prev)

Inputs

PDB *pdb Pointer to item in PDB linked list to be removed
PDB *prev Pointer to previous item in linked list

Returns

PDB * Next item in PDB linked list

Description

Kill an item in the PDB linked list and re-link correctly. Returns the next item in the list, so will be NULL when the last item in the list is killed.

Created: 12.05.92 Last Modified: 11.03.94