From 2191f519c71bcd483776838fd03c0641ef061f83 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 12 May 2023 14:43:29 -0400 Subject: opk/read: Indent other pragmas --- (limited to 'src/opk') diff --git a/src/opk/read.c b/src/opk/read.c index 2d9f439..9a2a3a4 100644 --- a/src/opk/read.c +++ b/src/opk/read.c @@ -495,8 +495,8 @@ _opkg_opk_opk_read_data(struct opkg_opk_opk *opk) mode[9] = '\0'; strftime(mtime, sizeof(mtime), "%Y-%m-%d %H:%M:%S", localtime((const time_t *) &member->mtime)); -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wformat-nonliteral" +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wformat-nonliteral" if (member->type != 'b' && member->type != 'c') { if (printf(fmt, member->type, mode, member->uname, member->gname, @@ -511,7 +511,7 @@ _opkg_opk_opk_read_data(struct opkg_opk_opk *opk) ret = OPKG_OPK_ERROR; } } -#pragma GCC diagnostic pop +# pragma GCC diagnostic pop /* Print name, ensuring it begins with "/". */ if (member->name[0] == '.' && member->name[1] == '/') { if (fputs(member->name + 1, stdout) == EOF) { -- cgit v0.9.1