diff options
author | Simo Sorce <simo@redhat.com> | 2012-01-25 14:20:19 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-01-25 16:36:00 -0500 |
commit | 0442bcae7176c927fb692c519deaf3202de644a2 (patch) | |
tree | d072dcb19e3c6b47e6a615666eb44a0059f72a50 /proxy | |
parent | eb11fb691679c13b5e2ee013a9b3affded7c0447 (diff) | |
download | gss-proxy-0442bcae7176c927fb692c519deaf3202de644a2.tar.gz gss-proxy-0442bcae7176c927fb692c519deaf3202de644a2.tar.xz gss-proxy-0442bcae7176c927fb692c519deaf3202de644a2.zip |
Move includes in gp_rpc_process.h
This way it is easier to have the right includes in all gp_rpc_* files.
Diffstat (limited to 'proxy')
-rw-r--r-- | proxy/src/gp_rpc_accept_sec_context.c | 7 | ||||
-rw-r--r-- | proxy/src/gp_rpc_process.c | 4 | ||||
-rw-r--r-- | proxy/src/gp_rpc_process.h | 7 |
3 files changed, 7 insertions, 11 deletions
diff --git a/proxy/src/gp_rpc_accept_sec_context.c b/proxy/src/gp_rpc_accept_sec_context.c index d7a6821..94b6f78 100644 --- a/proxy/src/gp_rpc_accept_sec_context.c +++ b/proxy/src/gp_rpc_accept_sec_context.c @@ -23,13 +23,6 @@ DEALINGS IN THE SOFTWARE. */ -#include "config.h" -#include <stdint.h> -#include <errno.h> -#include <gssapi/gssapi.h> -#include "gp_utils.h" -#include "gp_conv.h" -#include "gp_export.h" #include "gp_rpc_process.h" int gp_accept_sec_context(struct gssproxy_ctx *gpctx, diff --git a/proxy/src/gp_rpc_process.c b/proxy/src/gp_rpc_process.c index 9bc0d8c..dd2f538 100644 --- a/proxy/src/gp_rpc_process.c +++ b/proxy/src/gp_rpc_process.c @@ -23,10 +23,6 @@ DEALINGS IN THE SOFTWARE. */ -#include "config.h" -#include <stdint.h> -#include <errno.h> -#include "gp_utils.h" #include "gp_rpc_process.h" struct gp_rpc_fn_set gp_xdr_set[] = { diff --git a/proxy/src/gp_rpc_process.h b/proxy/src/gp_rpc_process.h index c02a3b3..e289b2f 100644 --- a/proxy/src/gp_rpc_process.h +++ b/proxy/src/gp_rpc_process.h @@ -26,6 +26,13 @@ #ifndef _GP_RPC_PROCESS_H_ #define _GP_RPC_PROCESS_H_ +#include "config.h" +#include <stdint.h> +#include <errno.h> +#include <gssapi/gssapi.h> +#include "gp_utils.h" +#include "gp_conv.h" +#include "gp_export.h" #include "rpcgen/gss_proxy.h" #include "rpcgen/gp_rpc.h" |