Restructure the func register code.
treeb9847c2bf0702050576001b8322ef94a60fc79c9
-rw-r--r-- 35147 COPYING
drwxr-xr-x - incoming
-rwxr-xr-x 1150 mktar.pl
drwxr-xr-x - patches
drwxr-xr-x - src