Fix compiler warnings in auth-token stuff.

This commit is contained in:
Juan Carlos Luciani 2005-12-16 15:57:46 +00:00
parent ec113054eb
commit a835a9cf9b
8 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 16 08:55:06 MST 2005 - jluciani@novell.com
-Fixed compiler warnings in auth-token stuff.
-------------------------------------------------------------------
Wed Dec 14 10:57:46 MST 2005 - jnorman@novell.com

View File

@ -26,6 +26,7 @@
#define _GNU_SOURCE
#include <stdarg.h>
#include <syslog.h>
#ifndef LINUX

View File

@ -182,7 +182,6 @@ EncodeData(
{
CasaStatus retStatus;
int encodedSize;
char *pBuffer;
DbgTrace(3, "krb5_token -EncodeData- Start\n", 0);

View File

@ -419,7 +419,7 @@ ConfigIf__GetEntryValue(
DbgTrace(0, "auth_token -ConfigIf_GetEntryValue- Buffer allocation failure\n", 0);
}
DbgTrace(2, "auth_token -ConfigIf_GetEntryValue- End, pValue = %08X\n", pValue);
DbgTrace(2, "auth_token -ConfigIf_GetEntryValue- End, pValue = %08X\n", (unsigned int) pValue);
return pValue;
}
@ -571,7 +571,6 @@ GetConfigInterface(
char *pKey;
char *pKeyEnd;
char *pValue;
int keyLen, valueLen;
ConfigKey *pConfigKey;
// Attempt to find the key

View File

@ -31,6 +31,7 @@
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <ctype.h>
#include <syslog.h>
#include <errno.h>
#include <pthread.h>

View File

@ -20,7 +20,7 @@ fi
cd $PR/auth_token/krb5_token/linux
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"../..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -fno-strict-aliasing " $2 $3 $4 $5)
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"../..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)

View File

@ -20,7 +20,7 @@ fi
cd $PR/auth_token/linux
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -fno-strict-aliasing " $2 $3 $4 $5)
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)

View File

@ -20,7 +20,7 @@ fi
cd $PR/auth_token/PAM
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -fno-strict-aliasing " $2 $3 $4 $5)
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA=ndbg XTRA_CFLAGS="-I\".\" -I\"..\" -DSSCS_LINUX_PLAT_F -02 -fmessage-length=0 -Wall -Wno-format-extra-args -fno-strict-aliasing " $2 $3 $4 $5)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)