* t_kerb.c: Add prototypes for test functions
authorEzra Peisach <epeisach@mit.edu>
Mon, 25 Sep 2000 16:13:07 +0000 (16:13 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 25 Sep 2000 16:13:07 +0000 (16:13 +0000)
Cleans up gcc warnings.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12669 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/t_kerb.c

index e39d0f61ee0dfebb459ba2281d264d0f5dc870a3..014042b1cdf177956b56c88ab94c0e8156e48912 100644 (file)
@@ -1,3 +1,7 @@
+2000-09-25  Ezra Peisach  <epeisach@mit.edu>
+
+       * t_kerb.c: Add prototypes for test functions.
+
 2000-08-29  Ken Raeburn  <raeburn@mit.edu>
 
        * get_creds.c (krb5_get_credentials_core): If the supplied enctype
index a08ac6d5efdd59e4321adb342650b6ae1ed9b39d..89242d9cd05b0f3026469b9c4804a95bf65d035a 100644 (file)
 
 #include "com_err.h"
 
-void test_string_to_timestamp(ctx, time)
+void test_string_to_timestamp KRB5_PROTOTYPE((krb5_context, char *));
+void test_425_conv_principal KRB5_PROTOTYPE((krb5_context, char *, char*, char *));
+void test_524_conv_principal KRB5_PROTOTYPE((krb5_context, char *));
+void test_parse_name KRB5_PROTOTYPE((krb5_context, const char *));
+void test_set_realm KRB5_PROTOTYPE((krb5_context, const char *, const char *));
+void usage KRB5_PROTOTYPE((char *));
+
+void test_string_to_timestamp(ctx, ktime)
        krb5_context ctx;
-       char *time;
+       char *ktime;
 {
     krb5_timestamp     timestamp;
     time_t             t;
     krb5_error_code    retval;
 
-    retval = krb5_string_to_timestamp(time, &timestamp);
+    retval = krb5_string_to_timestamp(ktime, &timestamp);
     if (retval) {
        com_err("krb5_string_to_timestamp", retval, 0);
        return;