summaryrefslogtreecommitdiff
path: root/hw/watchdog.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-08-21 10:31:32 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:30:23 -0500
commit88b3be201acf64e0bd19782bebd533901c951c87 (patch)
tree84d657a76abe808b29afa4d4579243bba5a091da /hw/watchdog.h
parent87b245db05aac9bcdb70a4f0af0fc5f353c5a9f8 (diff)
Move watchdog, watchdog_action, give them internal linkage
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/watchdog.h')
-rw-r--r--hw/watchdog.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/watchdog.h b/hw/watchdog.h
index ad1fcfce5..bb8120470 100644
--- a/hw/watchdog.h
+++ b/hw/watchdog.h
@@ -25,13 +25,6 @@
extern void wdt_i6300esb_init(void);
extern void wdt_ib700_init(void);
-/* Possible values for action parameter. */
-#define WDT_RESET 1 /* Hard reset. */
-#define WDT_SHUTDOWN 2 /* Shutdown. */
-#define WDT_POWEROFF 3 /* Quit. */
-#define WDT_PAUSE 4 /* Pause. */
-#define WDT_DEBUG 5 /* Prints a message and continues running. */
-#define WDT_NONE 6 /* Do nothing. */
struct WatchdogTimerModel {
LIST_ENTRY(WatchdogTimerModel) entry;
@@ -48,10 +41,6 @@ struct WatchdogTimerModel {
};
typedef struct WatchdogTimerModel WatchdogTimerModel;
-/* in vl.c */
-extern WatchdogTimerModel *watchdog;
-extern int watchdog_action;
-
/* in hw/watchdog.c */
extern int select_watchdog(const char *p);
extern int select_watchdog_action(const char *action);