Rename f to ksf in the global function namespace to avoid -Wshadow warning
Rename f to ksf in the global function namespace to avoid -Wshadow warning

Based on a report from Matthias Dieter Wallnöfer.

madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal