Force pr_keys.c to get linked in.

Nothing in the main program currently uses Key_Progs_Init, so the object
file wasn't getting pulled into the link. However, it's quite necessary for
the client console plugin :/
This commit is contained in:
Bill Currie 2012-07-16 07:36:31 +09:00
parent 8333e6578c
commit 134f9b0e9e

View file

@ -53,6 +53,10 @@
#include "compat.h"
#include "old_keys.h"
#define U __attribute__ ((used))
static U void (*const key_progs_init)(struct progs_s *) = Key_Progs_Init;
#undef U
/* key up events are sent even if in console mode */
VISIBLE keydest_t key_dest = key_console;