Added page dir pointer
ANSI C -> c99