aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/ext/grpc/server_credentials.h
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/server_credentials.h
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/server_credentials.h')
-rwxr-xr-xsrc/php/ext/grpc/server_credentials.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/ext/grpc/server_credentials.h b/src/php/ext/grpc/server_credentials.h
index ce2a4da138..8ed3697150 100755
--- a/src/php/ext/grpc/server_credentials.h
+++ b/src/php/ext/grpc/server_credentials.h
@@ -47,7 +47,7 @@
#include "grpc/grpc_security.h"
/* Class entry for the Server_Credentials PHP class */
-zend_class_entry *grpc_ce_server_credentials;
+extern zend_class_entry *grpc_ce_server_credentials;
/* Wrapper struct for grpc_server_credentials that can be associated with a PHP
* object */