summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-18 08:52:15 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:54 +0200
commit701f13b5c8e27bcbfc79e77ce7c76d9f768a448c (patch)
tree6fc15e63ecb4087458a3d01f0befd6eea5df349b
parent0e65abe5cf2abf5d4b431cf6bd161b419f07901d (diff)
downloadsssd-701f13b5c8e27bcbfc79e77ce7c76d9f768a448c.tar.gz
sssd-701f13b5c8e27bcbfc79e77ce7c76d9f768a448c.tar.xz
sssd-701f13b5c8e27bcbfc79e77ce7c76d9f768a448c.zip
Adding new header for printf formating macros
-rw-r--r--Makefile.am1
-rw-r--r--src/util/sss_format.h32
-rw-r--r--src/util/util.h1
3 files changed, 34 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 25a4cbf83..bbc8415e6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -397,6 +397,7 @@ dist_noinst_HEADERS = \
src/util/sss_utf8.h \
src/util/sss_ssh.h \
src/util/sss_ini.h \
+ src/util/sss_format.h \
src/util/refcount.h \
src/util/find_uid.h \
src/util/user_info_msg.h \
diff --git a/src/util/sss_format.h b/src/util/sss_format.h
new file mode 100644
index 000000000..db1a5051f
--- /dev/null
+++ b/src/util/sss_format.h
@@ -0,0 +1,32 @@
+/*
+ SSSD
+
+ sss_format.h
+
+ Authors:
+ Lukas Slebodnik <lslebodn@redhat.com>
+
+ Copyright (C) 2013 Red Hat
+
+
+ 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 <http://www.gnu.org/licenses/>.
+*/
+
+
+#ifndef __SSS_FORMAT_H__
+#define __SSS_FORMAT_H__
+
+#include <inttypes.h>
+
+#endif /* __SSS_FORMAT_H__ */
diff --git a/src/util/util.h b/src/util/util.h
index 67f60a586..ff54048bf 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -47,6 +47,7 @@
#include "util/atomic_io.h"
#include "util/util_errors.h"
#include "util/util_safealign.h"
+#include "util/sss_format.h"
#define _(STRING) gettext (STRING)