diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2002-06-09 08:13:10 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2002-06-09 08:13:10 +0000 |
commit | 3ed8b10a8df515c0cb5a2a6a0962c67f1c697164 (patch) | |
tree | 16644eb4e4232e2d2cd65fc342c5dbaafdc4e136 /sbin/raidctl/rf_configure.c | |
parent | c021608bd50b74de1b8074e336f7adad03b1c7d8 (diff) |
rm trailing whitespace
Diffstat (limited to 'sbin/raidctl/rf_configure.c')
-rw-r--r-- | sbin/raidctl/rf_configure.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sbin/raidctl/rf_configure.c b/sbin/raidctl/rf_configure.c index 198f5433c33..5d1bb0b91b9 100644 --- a/sbin/raidctl/rf_configure.c +++ b/sbin/raidctl/rf_configure.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_configure.c,v 1.8 2002/05/22 21:23:49 tdeval Exp $ */ +/* $OpenBSD: rf_configure.c,v 1.9 2002/06/09 08:13:09 todd Exp $ */ /* $NetBSD: rf_configure.c,v 1.14 2001/02/04 21:05:42 christos Exp $ */ /* @@ -67,7 +67,7 @@ #define ATTRIBUTE_UNUSED #endif -/* +/* * XXX we include this here so we don't need to drag rf_debugMem.c into * the picture... This is userland, afterall... */ @@ -152,7 +152,7 @@ int rf_get_next_nonblank_line(char *buf, int len, FILE *fp, * version of the driver, and in the user-level program that configures * the system via ioctl. */ -int +int rf_MakeConfig(configname, cfgPtr) char *configname; RF_Config_t *cfgPtr; @@ -310,7 +310,7 @@ out: /* used in architectures such as RAID0 where there is no layout-specific * information to be passed into the configuration code. */ -int +int rf_MakeLayoutSpecificNULL(fp, cfgPtr, ignored) FILE *fp ATTRIBUTE_UNUSED; RF_Config_t *cfgPtr; @@ -321,7 +321,7 @@ rf_MakeLayoutSpecificNULL(fp, cfgPtr, ignored) return(0); } -int +int rf_MakeLayoutSpecificDeclustered(configfp, cfgPtr, arg) FILE *configfp; RF_Config_t *cfgPtr; @@ -379,7 +379,7 @@ rf_MakeLayoutSpecificDeclustered(configfp, cfgPtr, arg) cfgPtr->layoutSpecificSize = RF_SPAREMAP_NAME_LEN + 6 * sizeof(int) + b * k; /* can't use RF_Malloc here b/c debugMem module not yet init'd */ - cfgBuf = (char *) malloc(cfgPtr->layoutSpecificSize); + cfgBuf = (char *) malloc(cfgPtr->layoutSpecificSize); cfgPtr->layoutSpecific = (void *) cfgBuf; p = cfgBuf; @@ -424,7 +424,7 @@ rf_MakeLayoutSpecificDeclustered(configfp, cfgPtr, arg) * utilities * ***************************************************************************/ - + /* finds a non-white character in the line */ char * rf_find_non_white(char *p) @@ -445,7 +445,7 @@ rf_find_white(char *p) * searches a file for a line that says "START string", where string is * specified as a parameter */ -int +int rf_search_file_for_start_of(string, buf, len, fp) const char *string; char *buf; @@ -468,7 +468,7 @@ rf_search_file_for_start_of(string, buf, len, fp) } /* reads from file fp into buf until it finds an interesting line */ -int +int rf_get_next_nonblank_line(buf, len, fp, errmsg) char *buf; int len ATTRIBUTE_UNUSED; |