[hackers] [ubase] mountpoint: style, order flags || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Sun, 10 May 2015 13:59:29 +0200 (CEST)

commit 06e895a67d6bf8ded3c084a6b26856cd856d8d3d
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sun May 10 12:17:47 2015 +0200

    mountpoint: style, order flags

diff --git a/mountpoint.c b/mountpoint.c
index 0e1bd7e..1007a27 100644
--- a/mountpoint.c
+++ b/mountpoint.c
_AT_@ -19,19 +19,19 @@ usage(void)
 int
 main(int argc, char *argv[])
 {
- int qflag = 0, dflag = 0, xflag = 0;
+ int dflag = 0, qflag = 0, xflag = 0;
+ int ret = 0;
         struct mntent *me = NULL;
         FILE *fp;
- int ret = 0;
         struct stat st1, st2;
 
         ARGBEGIN {
- case 'q':
- qflag = 1;
- break;
         case 'd':
                 dflag = 1;
                 break;
+ case 'q':
+ qflag = 1;
+ break;
         case 'x':
                 xflag = 1;
                 break;
Received on Sun May 10 2015 - 13:59:29 CEST

This archive was generated by hypermail 2.3.0 : Sun May 10 2015 - 14:00:17 CEST