summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-03-28 14:36:36 +0100
committerSimo Sorce <simo@redhat.com>2015-03-29 17:33:28 -0400
commit7c5d8946ff04588ee25050b61d72d7d33665fac9 (patch)
tree32e8b93e676acdf37cd9ed47c0181c4a9aa2f2b0
parentff6e3a3f259a5e55ccf92a1b8ec60fb264ac3425 (diff)
downloadgss-proxy-7c5d8946ff04588ee25050b61d72d7d33665fac9.tar.gz
gss-proxy-7c5d8946ff04588ee25050b61d72d7d33665fac9.tar.xz
gss-proxy-7c5d8946ff04588ee25050b61d72d7d33665fac9.zip
Include header file with prototypes in implementation module
Functions implemented in gp_util.c have prototypes in header file gp_common.h, but it was not included. This patch prevent potential conflicts between ptototype and definition of function. Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r--proxy/src/gp_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proxy/src/gp_util.c b/proxy/src/gp_util.c
index 34f3024..7ad21e3 100644
--- a/proxy/src/gp_util.c
+++ b/proxy/src/gp_util.c
@@ -31,6 +31,8 @@
#include <errno.h>
#include <unistd.h>
+#include "gp_common.h"
+
bool gp_same(const char *a, const char *b)
{
if ((a == b) || strcmp(a, b) == 0) {