summaryrefslogtreecommitdiffstats
path: root/src/query.c
diff options
context:
space:
mode:
authorpancake <pancake@pluna>2008-01-14 11:25:08 +0100
committerpancake <pancake@pluna>2008-01-14 11:25:08 +0100
commit288cad1c2e401e5dfbd029b95f62ca05c85d3d61 (patch)
treeac2652d1998dc9e641d49e367b3a853b2728b6c8 /src/query.c
parent4115aab13d70bbe8300562bcd789cc5bc27c8ded (diff)
download0xFFFF-288cad1c2e401e5dfbd029b95f62ca05c85d3d61.tar.bz2
* Up to 0.3.2
* Add HAVE_USB to config.mk - Now is possible to build a usb-less version of the flasher (only for unpacking and so, offline operations) * Refactor varname. Avoid portability problems: - reboot -> moboreboot
Diffstat (limited to 'src/query.c')
-rw-r--r--src/query.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/query.c b/src/query.c
index 3decf94..72b5b0f 100644
--- a/src/query.c
+++ b/src/query.c
@@ -1,6 +1,6 @@
/*
* 0xFFFF - Open Free Fiasco Firmware Flasher
- * Copyright (C) 2007 pancake <pancake@youterm.com>
+ * Copyright (C) 2007,2008 pancake <@youterm.com>
*
* 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
@@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#if HAVE_USB
+
#include "main.h"
#include <stdio.h>
#include <string.h>
@@ -337,3 +339,4 @@ int get_sw_version()
return 1;
}
+#endif