]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Expose prototypes for the ktc_* functions
authorRuss Allbery <rra@debian.org>
Sat, 28 Jun 2008 05:05:53 +0000 (22:05 -0700)
committerRuss Allbery <rra@debian.org>
Sat, 28 Jun 2008 05:05:53 +0000 (22:05 -0700)
Apply quilt patch ktc-prototypes: Expose prototypes for the ktc_*
functions on platforms other than Windows.  Fixed upstream in a different
way, but only on the 1.5 branch.

Closes: #449432
src/auth/auth.p.h

index 0a9d932579bd4a35f9f8ce310376837a4cdb35a6..d59755c9e052a832c094cfb1712064b612107a78 100644 (file)
@@ -24,7 +24,6 @@ struct ktc_token {
     char ticket[MAXKTCTICKETLEN];
 };
 
-#ifdef AFS_NT40_ENV
 extern int ktc_SetToken(struct ktc_principal *server, struct ktc_token *token,
                        struct ktc_principal *client, afs_int32 flags);
 
@@ -38,6 +37,8 @@ extern int ktc_ForgetToken(struct ktc_principal *server);
 
 extern int ktc_ForgetAllTokens(void);
 
+#ifdef AFS_NT40_ENV
+
 /* Flags for the flag word sent along with a token */
 #define PIOCTL_LOGON           0x1     /* invoked from integrated logon */