summaryrefslogtreecommitdiffstats
path: root/fs/ncpfs/getopt.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-11-14 08:37:15 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-28 13:55:01 +0100
commit1bb8155080c652c4853e6228f8f0d262b3049699 (patch)
tree04bcb6824789224bb16dd9a35fd5fc454881d616 /fs/ncpfs/getopt.h
parente02554e9a4338c58e75fdfb0ef908a5adc86cba5 (diff)
downloadlinux-1bb8155080c652c4853e6228f8f0d262b3049699.tar.bz2
ncpfs: move net/ncpfs to drivers/staging/ncpfs
The Netware Core Protocol is a file system that talks to Netware clients over IPX. Since IPX has been dead for many years move the file system into staging for eventual interment. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ncpfs/getopt.h')
-rw-r--r--fs/ncpfs/getopt.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/fs/ncpfs/getopt.h b/fs/ncpfs/getopt.h
deleted file mode 100644
index 30f0da317670..000000000000
--- a/fs/ncpfs/getopt.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _LINUX_GETOPT_H
-#define _LINUX_GETOPT_H
-
-#define OPT_NOPARAM 1
-#define OPT_INT 2
-#define OPT_STRING 4
-struct ncp_option {
- const char *name;
- unsigned int has_arg;
- int val;
-};
-
-extern int ncp_getopt(const char *caller, char **options, const struct ncp_option *opts,
- char **optopt, char **optarg, unsigned long *value);
-
-#endif /* _LINUX_GETOPT_H */