1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-22 23:22:25 +02:00

- atrf-rssi.c (gui): moved system-dependent definition to gui.h

This commit is contained in:
Werner Almesberger 2011-04-12 22:47:18 -03:00
parent 6df648792a
commit 2967f99966
2 changed files with 8 additions and 6 deletions

View File

@ -21,11 +21,7 @@
#include "atrf.h"
#include "misctxrx.h"
#ifdef HAVE_GFX
#include "gui.h"
#else
#define gui(dsc) abort()
#endif
static struct timeval t0;

View File

@ -1,8 +1,8 @@
/*
* atrf-rssi/gui.h - Graphical output for atrf-rssi
*
* Written 2010 by Werner Almesberger
* Copyright 2010 Werner Almesberger
* Written 2010-2011 by Werner Almesberger
* Copyright 2010-2011 Werner Almesberger
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -13,9 +13,15 @@
#ifndef GUI_H
#define GUI_H
#include <stdlib.h>
#include "atrf.h"
#ifdef HAVE_GFX
void gui(struct atrf_dsc *dsc);
#else
#define gui(dsc) abort()
#endif
#endif /* !GUI_H */