2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

put the gettext define in one place

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Seth Arnold <seth.arnold@canonical.com>
Acked-by: Steve Beattie <steve@nxnw.org>
This commit is contained in:
John Johansen
2014-08-23 23:50:43 -07:00
parent 0465bdbf81
commit 9fe1e72c44
16 changed files with 4 additions and 38 deletions

View File

@@ -24,8 +24,6 @@
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
#include <libintl.h>
#define _(s) gettext(s)
#include <string>
#include <sstream>
@@ -37,11 +35,6 @@
#include <unistd.h>
#include <linux/unistd.h>
#include <libintl.h>
#define _(s) gettext(s)
#define SD_CODE_SIZE (sizeof(u8))
#define SD_STR_LEN (sizeof(u16))