From c7cc685458d22b8fd78a9d8be4c0e7d456ff14a1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 19 Nov 2011 02:33:11 -0500 Subject: rc: fix style around case_RC_COMMON_GETOPT Signed-off-by: Mike Frysinger --- src/rc/checkpath.c | 2 +- src/rc/fstabinfo.c | 4 ++-- src/rc/mountinfo.c | 4 ++-- src/rc/rc-depend.c | 2 +- src/rc/rc-service.c | 4 ++-- src/rc/rc-update.c | 2 +- src/rc/runscript.c | 2 +- src/rc/start-stop-daemon.c | 4 ++-- src/rc/swclock.c | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c index 2e3c260e..c8bd8ad7 100644 --- a/src/rc/checkpath.c +++ b/src/rc/checkpath.c @@ -193,7 +193,7 @@ checkpath(int argc, char **argv) applet, optarg); break; - case_RC_COMMON_GETOPT; + case_RC_COMMON_GETOPT } } diff --git a/src/rc/fstabinfo.c b/src/rc/fstabinfo.c index cfbc7634..3cf0e022 100644 --- a/src/rc/fstabinfo.c +++ b/src/rc/fstabinfo.c @@ -236,8 +236,8 @@ fstabinfo(int argc, char **argv) } break; - case_RC_COMMON_GETOPT - } + case_RC_COMMON_GETOPT + } } if (optind < argc) { diff --git a/src/rc/mountinfo.c b/src/rc/mountinfo.c index 9382738b..e5d1d3f2 100644 --- a/src/rc/mountinfo.c +++ b/src/rc/mountinfo.c @@ -451,8 +451,8 @@ mountinfo(int argc, char **argv) args.mount_type = mount_from; break; - case_RC_COMMON_GETOPT - } + case_RC_COMMON_GETOPT + } } while (optind < argc) { diff --git a/src/rc/rc-depend.c b/src/rc/rc-depend.c index af162471..2392e181 100644 --- a/src/rc/rc-depend.c +++ b/src/rc/rc-depend.c @@ -173,7 +173,7 @@ rc_depend(int argc, char **argv) break; case_RC_COMMON_GETOPT - } + } } if (deptree_file) { diff --git a/src/rc/rc-service.c b/src/rc/rc-service.c index e47f8b36..2fbdd754 100644 --- a/src/rc/rc-service.c +++ b/src/rc/rc-service.c @@ -109,8 +109,8 @@ rc_service(int argc, char **argv) return EXIT_SUCCESS; /* NOTREACHED */ - case_RC_COMMON_GETOPT - } + case_RC_COMMON_GETOPT + } } argc -= optind; diff --git a/src/rc/rc-update.c b/src/rc/rc-update.c index d2068024..3e51840a 100644 --- a/src/rc/rc-update.c +++ b/src/rc/rc-update.c @@ -243,7 +243,7 @@ rc_update(int argc, char **argv) if (deptree) rc_deptree_free(deptree); return ret; - case_RC_COMMON_GETOPT; + case_RC_COMMON_GETOPT } verbose = rc_yesno(getenv ("EINFO_VERBOSE")); diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 6032c702..33065004 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -1201,7 +1201,7 @@ runscript(int argc, char **argv) case 'Z': dry_run = true; break; - case_RC_COMMON_GETOPT; + case_RC_COMMON_GETOPT } /* If we're changing runlevels and not called by rc then we cannot diff --git a/src/rc/start-stop-daemon.c b/src/rc/start-stop-daemon.c index 0078c3bd..a8a7bd3a 100644 --- a/src/rc/start-stop-daemon.c +++ b/src/rc/start-stop-daemon.c @@ -916,8 +916,8 @@ start_stop_daemon(int argc, char **argv) redirect_stderr = optarg; break; - case_RC_COMMON_GETOPT - } + case_RC_COMMON_GETOPT + } endpwent(); argc -= optind; diff --git a/src/rc/swclock.c b/src/rc/swclock.c index 5a92935e..0fb518b5 100644 --- a/src/rc/swclock.c +++ b/src/rc/swclock.c @@ -82,7 +82,7 @@ swclock(int argc, char **argv) case 'w': wflag = 1; break; - case_RC_COMMON_GETOPT; + case_RC_COMMON_GETOPT } } -- cgit v1.2.3