From 76c915d5bdfc9873ca4d05cad80b3c6e260c500e Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 28 Jun 2009 20:28:38 +0100 Subject: [ifmgmt] Move ifmgmt_cmd.h to include/hci --- src/hci/commands/ifmgmt_cmd.c | 2 +- src/hci/commands/ifmgmt_cmd.h | 30 ------------------------------ src/include/hci/ifmgmt_cmd.h | 30 ++++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 src/hci/commands/ifmgmt_cmd.h create mode 100644 src/include/hci/ifmgmt_cmd.h 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 #include #include -#include "ifmgmt_cmd.h" +#include /** @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 . - * - * 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 */ diff --git a/src/include/hci/ifmgmt_cmd.h b/src/include/hci/ifmgmt_cmd.h new file mode 100644 index 00000000..e9c810ab --- /dev/null +++ b/src/include/hci/ifmgmt_cmd.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2007 Michael Brown . + * + * 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 */ -- cgit