Move mobile phone specific code from libcommon.a to libmobile.a

This commit is contained in:
Andreas Eversberg
2017-08-20 08:27:02 +02:00
parent 3c0bcce97b
commit cff7622f5c
22 changed files with 58 additions and 23 deletions

View File

@@ -72,12 +72,17 @@ void free_nmt(nmt_t *nmt)
free(nmt);
}
extern void main_mobile();
int main(void)
{
nmt_t *nmt;
dms_t *dms;
int i, j;
/* this is never called, it forces the linker to add mobile functions */
if (debuglevel == -1000) main_mobile();
debuglevel = DEBUG_DEBUG;
dms_allow_loopback = 1;