http://git.etherboot.org
/
people
/
lynusvaz
/
gpxe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[hci] Expose ifcommon_exec() in a local header so wireless commands can use it
[people/lynusvaz/gpxe.git]
/
src
/
hci
/
commands
/
ifmgmt_cmd.c
diff --git
a/src/hci/commands/ifmgmt_cmd.c
b/src/hci/commands/ifmgmt_cmd.c
index
f2508e5
..
b5f4205
100644
(file)
--- a/
src/hci/commands/ifmgmt_cmd.c
+++ b/
src/hci/commands/ifmgmt_cmd.c
@@
-16,11
+16,14
@@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdio.h>
#include <getopt.h>
#include <gpxe/netdevice.h>
#include <gpxe/command.h>
#include <usr/ifmgmt.h>
#include <stdio.h>
#include <getopt.h>
#include <gpxe/netdevice.h>
#include <gpxe/command.h>
#include <usr/ifmgmt.h>
+#include "ifmgmt_cmd.h"
/** @file
*
/** @file
*
@@
-101,7
+104,7
@@
static int ifcommon_do_list ( int ( * payload ) ( struct net_device * ),
* @v argv Argument list
* @ret rc Exit code
*/
* @v argv Argument list
* @ret rc Exit code
*/
-
static
__attribute__ (( regparm ( 2 ) )) int
+__attribute__ (( regparm ( 2 ) )) int
ifcommon_exec ( int ( * payload ) ( struct net_device * ),
const char *verb, int argc, char **argv ) {
int c;
ifcommon_exec ( int ( * payload ) ( struct net_device * ),
const char *verb, int argc, char **argv ) {
int c;