]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Warnings work in util/
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Tue, 28 Jul 2009 11:25:08 +0000 (12:25 +0100)
committerDerrick Brashear <shadow@dementia.org>
Wed, 29 Jul 2009 11:13:08 +0000 (04:13 -0700)
commit5eae1c8062a8662d172d21a059533e04eef318d2
treea3dee4c8227579a8b6a1fc8a2be3b7f699a9dfe9
parentfb96e13d6f93fd7f7d833b4c66753b63a50c9003
Warnings work in util/

Make afs_ctime an inline function, instead of a complex macro.
This both improves our type safety, and suppreses warnings about
unused results.

Add bracing to clarify operator precedence in if (a && b || c)
statement

AFS_DARwiN60_ENV != AFS_DARWIN60_ENV

Use (void) rather than () in function prototypes

Reviewed-on: http://gerrit.openafs.org/240
Tested-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/util/afsutil.h
src/util/fstab.c
src/util/softsig.c
src/util/softsig.h