aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-04-10 08:44:20 -0700
committerGravatar Julien Boeuf <jboeuf@google.com>2015-04-10 08:44:20 -0700
commitfce25eee5d07a2480190c762ce71f85f3db17771 (patch)
tree433485aecd84be4bf380d1b936c3d94b75c32d8b
parent1d2240cc6c95ce4de29f1b8c19dea07d1a7d85d2 (diff)
Addressing comments.
-rw-r--r--src/cpp/client/secure_credentials.h4
-rw-r--r--src/cpp/server/secure_server_credentials.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/cpp/client/secure_credentials.h b/src/cpp/client/secure_credentials.h
index eb68238844..77d575813e 100644
--- a/src/cpp/client/secure_credentials.h
+++ b/src/cpp/client/secure_credentials.h
@@ -31,6 +31,9 @@
*
*/
+#ifndef GRPC_INTERNAL_CPP_CLIENT_SECURE_CREDENTIALS_H
+#define GRPC_INTERNAL_CPP_CLIENT_SECURE_CREDENTIALS_H
+
#include <grpc/grpc_security.h>
#include <grpc++/config.h>
@@ -54,4 +57,5 @@ class SecureCredentials GRPC_FINAL : public Credentials {
} // namespace grpc
+#endif // GRPC_INTERNAL_CPP_CLIENT_SECURE_CREDENTIALS_H
diff --git a/src/cpp/server/secure_server_credentials.h b/src/cpp/server/secure_server_credentials.h
index fa49d30743..b9803f107e 100644
--- a/src/cpp/server/secure_server_credentials.h
+++ b/src/cpp/server/secure_server_credentials.h
@@ -31,6 +31,9 @@
*
*/
+#ifndef GRPC_INTERNAL_CPP_SERVER_SECURE_SERVER_CREDENTIALS_H
+#define GRPC_INTERNAL_CPP_SERVER_SECURE_SERVER_CREDENTIALS_H
+
#include <grpc/grpc_security.h>
#include <grpc++/server_credentials.h>
@@ -54,3 +57,4 @@ class SecureServerCredentials GRPC_FINAL : public ServerCredentials {
} // namespace grpc
+#endif // GRPC_INTERNAL_CPP_SERVER_SECURE_SERVER_CREDENTIALS_H