aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/ext/grpc/credentials.c
diff options
context:
space:
mode:
authorGravatar Xiaoguang Sun <sunxiaoguang@hoolai.com>2015-03-13 14:22:31 +0800
committerGravatar Xiaoguang Sun <sunxiaoguang@hoolai.com>2015-03-13 14:22:31 +0800
commit8a929a965b89251ac54ad0bf9beb0a8f0a7d2258 (patch)
tree3cefefbeb8816b80d8f67829faae38b1e3a5b6af /src/php/ext/grpc/credentials.c
parentf9007045f25b5886b71f69fbbc23d5078f5f7466 (diff)
Fix duplicated symbols
Fix duplicated symbols caused by having definition instead of declaration in header file.
Diffstat (limited to 'src/php/ext/grpc/credentials.c')
-rw-r--r--src/php/ext/grpc/credentials.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/php/ext/grpc/credentials.c b/src/php/ext/grpc/credentials.c
index 6d8f59fa33..a94b0eac2d 100644
--- a/src/php/ext/grpc/credentials.c
+++ b/src/php/ext/grpc/credentials.c
@@ -49,6 +49,8 @@
#include "grpc/grpc.h"
#include "grpc/grpc_security.h"
+zend_class_entry *grpc_ce_credentials;
+
/* Frees and destroys an instance of wrapped_grpc_credentials */
void free_wrapped_grpc_credentials(void *object TSRMLS_DC) {
wrapped_grpc_credentials *creds = (wrapped_grpc_credentials *)object;