summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-12-09 04:17:26 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-20 02:07:07 +0100
commit5b6966db94a3f3113f7795d9513c832bd1a43f26 (patch)
tree0523d0d7b92ae4ad955ddf47256834ce5cc64842 /i386
parent45dc1c2a3d8a95ddc8cc115a5e41fa0afbc82208 (diff)
Match type for count with tty_get_status and tty_set_status
* i386/i386at/com.c (comgetstat): Use natural_t instead of `unsigned int'. (comsetstat): Likewise. * i386/i386at/kd.c (kdgetstat, kdsetstat): Likewise. * i386/i386at/lpr.c (lprgetstat, lprsetstat): Likewise.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386at/com.c4
-rw-r--r--i386/i386at/kd.c4
-rw-r--r--i386/i386at/lpr.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/i386/i386at/com.c b/i386/i386at/com.c
index 165b0fa..93c3faa 100644
--- a/i386/i386at/com.c
+++ b/i386/i386at/com.c
@@ -447,7 +447,7 @@ comgetstat(dev, flavor, data, count)
dev_t dev;
int flavor;
int *data; /* pointer to OUT array */
-unsigned int *count; /* out */
+natural_t *count; /* out */
{
io_return_t result = D_SUCCESS;
int unit = minor(dev);
@@ -470,7 +470,7 @@ comsetstat(dev, flavor, data, count)
dev_t dev;
int flavor;
int * data;
-unsigned int count;
+natural_t count;
{
io_return_t result = D_SUCCESS;
int unit = minor(dev);
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 4b70c5f..c977862 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -592,7 +592,7 @@ io_return_t kdgetstat(dev, flavor, data, count)
dev_t dev;
int flavor;
int * data; /* pointer to OUT array */
- unsigned int *count; /* OUT */
+ natural_t *count; /* OUT */
{
io_return_t result;
@@ -622,7 +622,7 @@ io_return_t kdsetstat(dev, flavor, data, count)
dev_t dev;
int flavor;
int * data;
- unsigned int count;
+ natural_t count;
{
io_return_t result;
diff --git a/i386/i386at/lpr.c b/i386/i386at/lpr.c
index b69e813..c92795e 100644
--- a/i386/i386at/lpr.c
+++ b/i386/i386at/lpr.c
@@ -185,7 +185,7 @@ lprgetstat(dev, flavor, data, count)
dev_t dev;
int flavor;
int *data; /* pointer to OUT array */
-unsigned int *count; /* out */
+natural_t *count; /* out */
{
io_return_t result = D_SUCCESS;
int unit = minor(dev);
@@ -203,7 +203,7 @@ lprsetstat(dev, flavor, data, count)
dev_t dev;
int flavor;
int * data;
-unsigned int count;
+natural_t count;
{
io_return_t result = D_SUCCESS;
int unit = minor(dev);