From: Bruno Haible Date: Fri, 2 Jun 2023 23:27:46 +0000 (+0200) Subject: Code perfectionism. X-Git-Tag: v0.22~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9d24e7bc907c37da02b929530b511114b58f63a;p=thirdparty%2Fgettext.git Code perfectionism. * gettext-tools/src/msgfmt.c (SIZEOF): Remove unused macro. * gettext-tools/src/read-desktop.c (SIZEOF): Likewise. * gettext-tools/src/x-desktop.c (SIZEOF): Likewise. --- diff --git a/gettext-tools/src/msgfmt.c b/gettext-tools/src/msgfmt.c index c0ea5a230..c5a880f42 100644 --- a/gettext-tools/src/msgfmt.c +++ b/gettext-tools/src/msgfmt.c @@ -1,6 +1,5 @@ /* Converts Uniforum style .po files to binary .mo files - Copyright (C) 1995-1998, 2000-2007, 2009-2010, 2012, 2014-2016, 2018-2022 Free Software - Foundation, Inc. + Copyright (C) 1995-1998, 2000-2007, 2009-2010, 2012, 2014-2016, 2018-2023 Free Software Foundation, Inc. Written by Ulrich Drepper , April 1995. This program is free software: you can redistribute it and/or modify @@ -71,8 +70,6 @@ #define _(str) gettext (str) -#define SIZEOF(a) (sizeof(a) / sizeof(a[0])) - /* Contains exit status for case in which no premature exit occurs. */ static int exit_status; diff --git a/gettext-tools/src/read-desktop.c b/gettext-tools/src/read-desktop.c index 9ca6fdbd5..a39ed0172 100644 --- a/gettext-tools/src/read-desktop.c +++ b/gettext-tools/src/read-desktop.c @@ -1,6 +1,5 @@ /* Reading Desktop Entry files. - Copyright (C) 1995-1998, 2000-2003, 2005-2006, 2008-2009, 2014-2019 Free - Software Foundation, Inc. + Copyright (C) 1995-1998, 2000-2003, 2005-2006, 2008-2009, 2014-2019, 2023 Free Software Foundation, Inc. This file was written by Daiki Ueno . This program is free software: you can redistribute it and/or modify @@ -43,8 +42,6 @@ #define _(str) gettext (str) -#define SIZEOF(a) (sizeof(a) / sizeof(a[0])) - /* The syntax of a Desktop Entry file is defined at https://standards.freedesktop.org/desktop-entry-spec/latest/index.html. */ diff --git a/gettext-tools/src/x-desktop.c b/gettext-tools/src/x-desktop.c index 209da71cd..dc989d159 100644 --- a/gettext-tools/src/x-desktop.c +++ b/gettext-tools/src/x-desktop.c @@ -1,5 +1,5 @@ /* xgettext Desktop Entry backend. - Copyright (C) 2014, 2018-2020 Free Software Foundation, Inc. + Copyright (C) 2014, 2018-2020, 2023 Free Software Foundation, Inc. This file was written by Daiki Ueno , 2014. @@ -44,8 +44,6 @@ #define _(s) gettext(s) -#define SIZEOF(a) (sizeof(a) / sizeof(a[0])) - /* ====================== Keyword set customization. ====================== */ /* The syntax of a Desktop Entry file is defined at