From: Michael Tremer Date: Tue, 27 Apr 2021 17:30:02 +0000 (+0000) Subject: _pakfire: Drop constants.h X-Git-Tag: 0.9.28~1285^2~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e76582749d0cd4c44f9eebffb18f172a10d6843c;p=pakfire.git _pakfire: Drop constants.h Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 47661d60b..c61e51859 100644 --- a/Makefile.am +++ b/Makefile.am @@ -160,7 +160,6 @@ _pakfire_la_SOURCES = \ src/_pakfire/_pakfiremodule.c \ src/_pakfire/archive.c \ src/_pakfire/archive.h \ - src/_pakfire/constants.h \ src/_pakfire/errors.h \ src/_pakfire/key.c \ src/_pakfire/key.h \ diff --git a/src/_pakfire/_pakfiremodule.c b/src/_pakfire/_pakfiremodule.c index b0832c6c7..4b1fc4ed0 100644 --- a/src/_pakfire/_pakfiremodule.c +++ b/src/_pakfire/_pakfiremodule.c @@ -19,11 +19,11 @@ #############################################################################*/ #include +#include #include #include "archive.h" -#include "constants.h" #include "errors.h" #include "key.h" #include "package.h" diff --git a/src/_pakfire/constants.h b/src/_pakfire/constants.h deleted file mode 100644 index 8d5cbbc92..000000000 --- a/src/_pakfire/constants.h +++ /dev/null @@ -1,31 +0,0 @@ -/*############################################################################# -# # -# Pakfire - The IPFire package management system # -# Copyright (C) 2013 Pakfire development team # -# # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -# # -#############################################################################*/ - -#ifndef PYTHON_PAKFIRE_CONSTANTS_H -#define PYTHON_PAKFIRE_CONSTANTS_H - -/* - Load all required modules for the translation. -*/ - -#include -#define _(x) gettext(x) - -#endif /* PYTHON_PAKFIRE_CONSTANTS_H */ diff --git a/src/_pakfire/util.c b/src/_pakfire/util.c index 3c3c0464f..94fbfd287 100644 --- a/src/_pakfire/util.c +++ b/src/_pakfire/util.c @@ -28,7 +28,6 @@ #include #include -#include "constants.h" #include "package.h" #include "util.h"