summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--sys/dev/fdc/fdc.c8
-rw-r--r--sys/isa/fd.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 0dd3b4c..6f998c3 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.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));
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