]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Fix alignment and indentation
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 14 Oct 2018 19:59:40 +0000 (21:59 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 14 Oct 2018 20:02:57 +0000 (22:02 +0200)
src/ccache.c
src/util.c
unittest/framework.c
unittest/test_conf.c

index 1a9ba146f4da9211457ccf549b8c743a58ad8fb0..0816314b76d4bf79d6b176999da49ce9c2abfe2a 100644 (file)
@@ -66,7 +66,7 @@ static const char USAGE_TEXT[] =
        "    -C, --clear           clear the cache completely (except configuration)\n"
        "    -F, --max-files=N     set maximum number of files in cache to N (use 0 for\n"
        "                          no limit)\n"
-        "    -k, --get-config=K    get the value of the configuration key K\n"
+       "    -k, --get-config=K    get the value of the configuration key K\n"
        "    -M, --max-size=SIZE   set maximum size of cache to SIZE (use 0 for no\n"
        "                          limit); available suffixes: k, M, G, T (decimal) and\n"
        "                          Ki, Mi, Gi, Ti (binary); default suffix: G\n"
@@ -3560,7 +3560,7 @@ ccache_main_options(int argc, char *argv[])
 
        int c;
        while ((c = getopt_long(argc, argv, "cCk:hF:M:o:psVz", options, NULL))
-               != -1) {
+              != -1) {
                switch (c) {
                case DUMP_MANIFEST:
                        manifest_dump(optarg, stdout);
index 5f4a4b7c4c06ca50f17acda59d52c6c43796c2c8..3a34e33b0ed63bfc2fe43bb37ce81d5c9291f865 100644 (file)
@@ -274,12 +274,12 @@ int
 mkstemp(char *template)
 {
 #ifdef __GNUC__
-    #pragma GCC diagnostic push
-    #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+       #pragma GCC diagnostic push
+       #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 #endif
        mktemp(template);
 #ifdef __GNUC__
-    #pragma GCC diagnostic pop
+       #pragma GCC diagnostic pop
 #endif
        return open(template, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600);
 }
index f98a6c694b120c567d0b853d307a81e032d5aac3..797822ffde0387c4e07928bb1b4acf3da14bba1f 100644 (file)
@@ -212,7 +212,7 @@ cct_check_int_eq(const char *file, int line, const char *expression,
 bool
 cct_check_str_eq(const char *file, int line, const char *expression,
                  char *expected, char *actual,
-                bool free1, bool free2)
+                 bool free1, bool free2)
 {
        bool result;
 
index f3d63da98a37e1d38cb2d045929fc8c0297aedfd..e61aa6ac44135bc6490581d16cfd5252b6f51620 100644 (file)
@@ -414,7 +414,7 @@ TEST(conf_print_unknown_value)
                CHECK(log);
                CHECK(!conf_print_value(conf, "foo", log, &errmsg));
                CHECK_STR_EQ_FREE2("unknown configuration option \"foo\"",
-                                  errmsg);
+                                  errmsg);
                fclose(log);
        }
        {