diff options
| author | Sam Varshavchik | 2021-05-21 21:11:51 -0400 |
|---|---|---|
| committer | Sam Varshavchik | 2021-05-21 21:11:51 -0400 |
| commit | 142f42378608e593eb36ceb33895db99948427aa (patch) | |
| tree | fc089285268a8fe3c8768cd7482fb50393f49354 /liblock | |
| parent | 34b6dbb743654fdb6edccf101c4da7e671b7a92d (diff) | |
| download | courier-libs-142f42378608e593eb36ceb33895db99948427aa.tar.bz2 | |
-Wall and -Werror fixes
Diffstat (limited to 'liblock')
| -rw-r--r-- | liblock/configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/liblock/configure.ac b/liblock/configure.ac index 728ef1e..5e1745c 100644 --- a/liblock/configure.ac +++ b/liblock/configure.ac @@ -42,8 +42,8 @@ AC_CACHE_CHECK( [for off64_t], liblock_cv_hasoff64t, liblock_cv_hasoff64t="no" AC_TRY_COMPILE([ #include <sys/types.h> -],[ off64_t n; +],[ n=0; ], liblock_cv_hasoff64t="yes") @@ -72,8 +72,8 @@ AC_TRY_COMPILE([ #if HAVE_SYS_FCNTL_H #include <sys/fcntl.h> #endif -],[ flock_t t; +],[ ], liblock_cv_hasflock_t="yes")) if test "$liblock_cv_hasflock_t" = "yes" @@ -95,8 +95,8 @@ liblock_cv_hasfcntl="no" AC_TRY_LINK([ #define LL_OFFSET_TYPE $LL_OFFSET_TYPE #include "${srcdir}/lockfcntl.c" -],[ int n; +],[ ], liblock_cv_hasfcntl="yes")) if test "$liblock_cv_hasfcntl" = "yes" then @@ -109,8 +109,8 @@ liblock_cv_hasflock="no" AC_TRY_LINK([ #define LL_OFFSET_TYPE $LL_OFFSET_TYPE #include "${srcdir}/lockflock.c" -],[ int n; +],[ ], liblock_cv_hasflock="yes")) if test "$liblock_cv_hasflock" = "yes" then @@ -123,8 +123,8 @@ liblock_cv_haslockf="no" AC_TRY_LINK([ #define LL_OFFSET_TYPE $LL_OFFSET_TYPE #include "${srcdir}/locklockf.c" -],[ int n; +],[ ], liblock_cv_haslockf="yes")) if test "$liblock_cv_haslockf" = "yes" then |
