Add missing declarations.

* This way clang emits no warnings about missing declarations for
  externally visible functions.
* Also, merge improvements to core.c and core_cf.c from ppm.
2 jobs for master in 29 seconds (queued for 33 seconds)
Status Job ID Name Coverage
  Test
passed #22996
doxygen
pages

00:00:29

 
  Deploy
passed pages:deploy

00:00:07