[build] make "common" a static library (part 2/2)

This commit is contained in:
Geoffrey McRae
2019-04-11 11:12:59 +10:00
parent 28b12c85f4
commit d8915dbfc9
29 changed files with 38 additions and 26 deletions

View File

@@ -18,7 +18,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "main.h"
#include "debug.h"
#include "common/debug.h"
#include <stdarg.h>
void app_alert(LG_MsgAlert type, const char * fmt, ...)

View File

@@ -19,7 +19,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include "main.h"
#include "config.h"
#include "debug.h"
#include "common/debug.h"
#include <sys/stat.h>
#include <libconfig.h>

View File

@@ -35,9 +35,9 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include <stdbool.h>
#include <assert.h>
#include "debug.h"
#include "common/debug.h"
#include "common/KVMFR.h"
#include "utils.h"
#include "KVMFR.h"
#include "kb.h"
#include "ll.h"
@@ -337,6 +337,10 @@ static int frameThread(void * unused)
header.pitch < header.width
){
DEBUG_WARN("Bad header");
DEBUG_WARN(" width : %u" , header.width );
DEBUG_WARN(" height : %u" , header.height );
DEBUG_WARN(" pitch : %u" , header.pitch );
DEBUG_WARN(" dataPos: 0x%08lx", header.dataPos);
usleep(1000);
continue;
}

View File

@@ -18,7 +18,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "utils.h"
#include "debug.h"
#include "common/debug.h"
#include <stdlib.h>
#include <stdio.h>