diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2008-03-10 21:51:49 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2008-03-10 21:51:49 +0000 |
commit | a28b624402aa0eac09ad93de5d1c5e6bccadcd82 (patch) | |
tree | 04d2b0c425f23f7e3d46b699bd28810bd69dcc31 /src/ccapi/test/test_ccapi_util.c | |
parent | a5b461f0b826505cb666bf7aa3e04882ad7c2bdb (diff) | |
download | krb5-a28b624402aa0eac09ad93de5d1c5e6bccadcd82.tar.gz krb5-a28b624402aa0eac09ad93de5d1c5e6bccadcd82.tar.xz krb5-a28b624402aa0eac09ad93de5d1c5e6bccadcd82.zip |
Remove C warnings
Some C++ conventions in the CCAPI tests were producing warnings
on C compilers. Fixed code to stop producing warnings.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20268 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/test/test_ccapi_util.c')
-rw-r--r-- | src/ccapi/test/test_ccapi_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ccapi/test/test_ccapi_util.c b/src/ccapi/test/test_ccapi_util.c index 282ec74b5..e2ad2b7d8 100644 --- a/src/ccapi/test/test_ccapi_util.c +++ b/src/ccapi/test/test_ccapi_util.c @@ -38,7 +38,7 @@ cc_int32 new_v5_creds_union (cc_credentials_union *out_union, const char *realm) cc_int32 err = ccNoError; cc_credentials_union *cred_union = NULL; cc_credentials_v5_t *v5creds = NULL; - static num_runs = 1; + static int num_runs = 1; char *client = NULL; char *server = NULL; @@ -138,4 +138,4 @@ int compare_v5_creds_unions(const cc_credentials_union *a, const cc_credentials_ } return retval; -}
\ No newline at end of file +} |