Split random functions into its own file
This makes it possible for plugins to share the cf_random() function
without bringing in all the other symbols required in porting.c.
26 lines of code changed in 4 files:
Add porting.c to citylife plugin build
citylife uses RANDOM() which is implemented as cf_random() in porting.c.
This fixes an undefined symbol at load time.
Reported by: Jason Bergmann
2 lines of code changed in 1 file: