summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-09-13 13:31:52 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-16 01:51:59 +0200
commit9b1f22d5318181a9d8a1ed2b0351f783baf3cd42 (patch)
tree2319937b988d42b11efc57317b6f1c01fef11958 /device
parentc129b44be2e942674087f05238fcff55a4efdbcc (diff)
small style changes for consistency
* device/dev_name: Changes in coding style.
Diffstat (limited to 'device')
-rw-r--r--device/dev_name.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/device/dev_name.c b/device/dev_name.c
index 98a0e27..bf541df 100644
--- a/device/dev_name.c
+++ b/device/dev_name.c
@@ -65,9 +65,9 @@ nomap()
*/
boolean_t
name_equal(src, len, target)
- char * src;
+ char *src;
int len;
- char * target;
+ char *target;
{
while (--len >= 0)
if (*src++ != *target++)
@@ -79,7 +79,7 @@ name_equal(src, len, target)
* device name lookup
*/
boolean_t dev_name_lookup(name, ops, unit)
- char * name;
+ char *name;
dev_ops_t *ops; /* out */
int *unit; /* out */
{
@@ -95,14 +95,14 @@ boolean_t dev_name_lookup(name, ops, unit)
* <partition> is a letter in [a-h] (disks only?)
*/
- char * cp = name;
+ char *cp = name;
int len;
int j = 0;
int c;
dev_ops_t dev;
boolean_t found;
- int slice_num=0;
+ int slice_num = 0;
#if 0
printf("lookup on name %s\n",name);
@@ -214,8 +214,9 @@ dev_set_indirection(name, ops, unit)
}
boolean_t dev_change_indirect(iname, dname, unit)
-char *iname,*dname;
-int unit;
+ char *iname;
+ char *dname;
+ int unit;
{
struct dev_ops *dp;
struct dev_indirect *di;