Add generic.c and generic.h.
authorTimo Korvola <tkorvola@iki.fi>
Sat, 3 Mar 2018 10:24:48 +0000 (12:24 +0200)
committerDavid Griffith <dave@661.org>
Sun, 11 Mar 2018 11:48:50 +0000 (04:48 -0700)
commitfe0748d5c0862884f91884234b735313d0c95291
tree2f0b1b28efbc3c20ee52096805970c445f37dff8
parent6663542cbe63920b2a453e560777a5f665475caf
Add generic.c and generic.h.

The functions here are identical or nearly so in most ports.  They should
really be put somewhere so that they can be shared.  For now, this.
src/sdl/generic.c [new file with mode: 0644]
src/sdl/generic.h [new file with mode: 0644]