summaryrefslogtreecommitdiffstats
path: root/sys/isa/fd.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-09-17 07:21:20 +0000
committerphk <phk@FreeBSD.org>2003-09-17 07:21:20 +0000
commitb6b3a2e051e376eaff889034a0486a13a97c41b6 (patch)
tree29ffe44a5ad024eeabe4b8e6d316410ad936f668 /sys/isa/fd.c
parent1283b3d48078ffb4a7a9e6c1b0cbc21bd5e86738 (diff)
downloadFreeBSD-src-b6b3a2e051e376eaff889034a0486a13a97c41b6.zip
FreeBSD-src-b6b3a2e051e376eaff889034a0486a13a97c41b6.tar.gz
Since it is static these days, there is no reason to uppercase the
first letter of fdopen() to avoid nameclashing with other stuff.
Diffstat (limited to 'sys/isa/fd.c')
-rw-r--r--sys/isa/fd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index 0dd3b4c..6f998c3 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -404,10 +404,10 @@ static void fdc_reset(fdc_p);
static int fd_in(struct fdc_data *, int *);
static int out_fdc(struct fdc_data *, int);
/*
- * The open function is named Fdopen() to avoid confusion with fdopen()
+ * The open function is named fdopen() to avoid confusion with fdopen()
* in fd(4). The difference is now only meaningful for debuggers.
*/
-static d_open_t Fdopen;
+static d_open_t fdopen;
static d_close_t fdclose;
static d_strategy_t fdstrategy;
static void fdstart(struct fdc_data *);
@@ -483,7 +483,7 @@ fdin_rd(fdc_p fdc)
#define CDEV_MAJOR 9
static struct cdevsw fd_cdevsw = {
- .d_open = Fdopen,
+ .d_open = fdopen,
.d_close = fdclose,
.d_read = physread,
.d_write = physwrite,
@@ -1560,7 +1560,7 @@ out_fdc(struct fdc_data *fdc, int x)
* auxiliary functions).
*/
static int
-Fdopen(dev_t dev, int flags, int mode, struct thread *td)
+fdopen(dev_t dev, int flags, int mode, struct thread *td)
{
fdu_t fdu = FDUNIT(minor(dev));
int type = FDTYPE(minor(dev));
OpenPOWER on IntegriCloud