OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
Sun, 07 Dec 2003 17:49:13 EST
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-tree/src/WINNT/afsd
afsd_init.c afsd_service.c cm.h cm_buf.c cm_callback.c
cm_dcache.c cm_dns.c cm_freelance.c cm_ioctl.c cm_rpc.c
cm_scache.c cm_vnodeops.c fs.c smb.c smb.h smb3.c smb_ioctl.c
flexelint patches for prototype handling from Joe Beuhler
This patch adds a bunch of missing prototypes, makes various
corrections to global prototypes, and removes global declarations that
are not needed.
One set of added prototypes is commented out because it applies to
some printf-like functions that are implemented the way it used to be
done before varargs existed, and they need to be unprototyped or the
code will fail to compile. (There are a number of functions in the
OpenAFS code that need to be converted to use varargs...)
There is one place of note in src/WINNT/afsd/fs.c where typedefs for
afs_int32 and afs_uint32 conflict with afs/stds.h. I just added a
note to that effect.
Prototypes in src/WINNT/afsd/fs.c are incorrect for Windows NT. I
don't know whether the return type involved changes from platform to
platform -- they come from .xg files.
Some prototypes are now commented out or #ifdef'd to match the code
that uses them.
Some global variables conflict between modules and have been made static.
The bufferBlock variable was of two completely different types...
In src/config/stds.h, I changed the declaration of afs_intmax_t to
reflect the fact that the Windows platform supports 64 bit integers.
This may be incorrect semantically, but I believe it is needed for the
%llx format to match afs_intmax_t arguments (for printing of inodes
mainly, I believe).
There were two different declarations for the rxkad_stats structure --
I synced them up.
Removed the conflicting typedefs from src/WINNT/afsd/fs.c
Removed the changes to src/config/stds.h. Added declaration of
AFS_64BIT_CLIENT to src/config/NTMakefile.i386_nt40 instead.
Do not remove unused variables which are defintions of data type
values. Instead comment them out to avoid space utilization and
--- DELTA config follows ---
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/afsd_init.c 1.10 1.11
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/afsd_service.c 1.11 1.12
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/cm.h 1.4 1.5
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/cm_buf.c 1.6 1.7
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/cm_callback.c 1.11 1.12
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/cm_dcache.c 1.5 1.6
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/cm_dns.c 1.2 1.3
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/cm_freelance.c 1.5 1.6
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/cm_ioctl.c 1.16 1.17
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/cm_rpc.c 1.5 1.6
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/cm_scache.c 1.6 1.7
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/cm_vnodeops.c 1.5 1.6
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/fs.c 1.7 1.8
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/smb.c 1.16 1.17
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/smb.h 1.6 1.7
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/smb3.c 1.15 1.16
ticket-2618-patches-20031207 openafs/src/WINNT/afsd/smb_ioctl.c 1.9 1.10