wifi: kill wireless-helper.h

Only used in wifi-utils-wext.c now.
This commit is contained in:
Dan Williams 2011-12-12 11:42:39 -06:00
parent fbd5c5b0e8
commit f6f8ff1c33
3 changed files with 10 additions and 34 deletions

View file

@ -114,7 +114,6 @@ NetworkManager_SOURCES = \
nm-device-private.h \
nm-device-ethernet.c \
nm-device-ethernet.h \
wireless-helper.h \
wifi-utils.c \
wifi-utils.h \
wifi-utils-private.h \

View file

@ -34,7 +34,16 @@
#include "nm-logging.h"
#include "nm-utils.h"
#include "wireless-helper.h"
/* Hacks necessary to #include wireless.h; yay for WEXT */
#ifndef __user
#define __user
#endif
#include <sys/types.h>
#include <linux/types.h>
#include <sys/socket.h>
#include <linux/if.h>
#include <linux/wireless.h>
typedef struct {
WifiData parent;

View file

@ -1,32 +0,0 @@
/* NetworkManager -- Network link manager
*
* Dan Williams <dcbw@redhat.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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) 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.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* (C) Copyright 2008 Red Hat, Inc.
*/
/* Hacks necessary to #include wireless.h; yay for WEXT */
#ifndef __user
#define __user
#endif
#include <sys/types.h>
#include <linux/types.h>
#include <sys/socket.h>
#include <linux/if.h>
#include <linux/wireless.h>