summaryrefslogtreecommitdiffstats
path: root/src/hci/commands
diff options
context:
space:
mode:
authorMichael Brown2009-06-28 21:28:38 +0200
committerMichael Brown2009-06-28 21:28:38 +0200
commit76c915d5bdfc9873ca4d05cad80b3c6e260c500e (patch)
tree3035a80cac0ae91d4bef19a0cfee8ea0a86845d1 /src/hci/commands
parent[ifmgmt] Optimise prototype for ifcommon_exec() (diff)
downloadipxe-76c915d5bdfc9873ca4d05cad80b3c6e260c500e.tar.gz
ipxe-76c915d5bdfc9873ca4d05cad80b3c6e260c500e.tar.xz
ipxe-76c915d5bdfc9873ca4d05cad80b3c6e260c500e.zip
[ifmgmt] Move ifmgmt_cmd.h to include/hci
Diffstat (limited to 'src/hci/commands')
-rw-r--r--src/hci/commands/ifmgmt_cmd.c2
-rw-r--r--src/hci/commands/ifmgmt_cmd.h30
2 files changed, 1 insertions, 31 deletions
diff --git a/src/hci/commands/ifmgmt_cmd.c b/src/hci/commands/ifmgmt_cmd.c
index 1b1b10f0..ad069f14 100644
--- a/src/hci/commands/ifmgmt_cmd.c
+++ b/src/hci/commands/ifmgmt_cmd.c
@@ -23,7 +23,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/netdevice.h>
#include <gpxe/command.h>
#include <usr/ifmgmt.h>
-#include "ifmgmt_cmd.h"
+#include <hci/ifmgmt_cmd.h>
/** @file
*
diff --git a/src/hci/commands/ifmgmt_cmd.h b/src/hci/commands/ifmgmt_cmd.h
deleted file mode 100644
index e9c810ab..00000000
--- a/src/hci/commands/ifmgmt_cmd.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (C) 2007 Michael Brown <mbrown@fensystems.co.uk>.
- *
- * 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 the Free Software Foundation; either version 2 of the
- * License, or any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-#ifndef _IFMGMT_CMD_H
-#define _IFMGMT_CMD_H
-
-FILE_LICENCE ( GPL2_OR_LATER );
-
-struct net_device;
-
-extern int ifcommon_exec ( int argc, char **argv,
- int ( * payload ) ( struct net_device * ),
- const char *verb );
-
-#endif /* _IFMGMT_CMD_H */