summaryrefslogtreecommitdiff
path: root/usr/src/cmd/format/startup.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2022-04-03 10:42:35 +0300
committerToomas Soome <tsoome@me.com>2022-04-19 01:58:17 +0300
commitb12aaafbf56c5a06b6cfd21655531a33e38a8ed9 (patch)
treeca10ca759be5de1857e5b2bea4c3ea821cfd1d04 /usr/src/cmd/format/startup.c
parentc74f1323689f1dfea444e7fe0627eafc8c3b9076 (diff)
downloadillumos-gate-b12aaafbf56c5a06b6cfd21655531a33e38a8ed9.tar.gz
14613 format: cstyle cleanup
Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/format/startup.c')
-rw-r--r--usr/src/cmd/format/startup.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/src/cmd/format/startup.c b/usr/src/cmd/format/startup.c
index 07d46a6bab..d01fb18b71 100644
--- a/usr/src/cmd/format/startup.c
+++ b/usr/src/cmd/format/startup.c
@@ -287,7 +287,7 @@ badopt:
static void
-usage()
+usage(void)
{
err_print("Usage: format [-s][-d disk_name]");
err_print("[-t disk_type][-p partition_name]\n");
@@ -311,7 +311,7 @@ usage()
* the problem is occurring.
*/
void
-sup_init()
+sup_init(void)
{
int nopened_files = 0;
char fname[MAXPATHLEN];
@@ -411,7 +411,7 @@ sup_init()
* for the descriptor. Return true if able to open the file.
*/
static int
-sup_prxfile()
+sup_prxfile(void)
{
int status;
TOKEN token;
@@ -486,7 +486,7 @@ sup_prxfile()
* enable supporting multiple search path definitions.
*/
static void
-sup_setpath()
+sup_setpath(void)
{
TOKEN token;
TOKEN cleaned;
@@ -550,7 +550,7 @@ sup_setpath()
* controller type.
*/
static void
-sup_setdtype()
+sup_setdtype(void)
{
TOKEN token, cleaned, ident;
int val, status, i;
@@ -952,7 +952,7 @@ sup_change_spec(struct disk_type *disk, char *id)
* controller type.
*/
static void
-sup_setpart()
+sup_setpart(void)
{
TOKEN token, cleaned, disk, ctlr, ident;
struct disk_type *dtype = NULL;
@@ -2406,7 +2406,7 @@ datafile_error(char *errmsg, char *token)
* That may or may not be a problem...
*/
static void
-search_duplicate_dtypes()
+search_duplicate_dtypes(void)
{
struct disk_type *dp1;
struct disk_type *dp2;
@@ -2439,7 +2439,7 @@ search_duplicate_dtypes()
* That may or may not be a problem...
*/
static void
-search_duplicate_pinfo()
+search_duplicate_pinfo(void)
{
struct disk_type *dp;
struct partition_info *pp1;
@@ -2853,7 +2853,7 @@ exit:
static void
-sort_disk_list()
+sort_disk_list(void)
{
int n;
struct disk_info **disks;