diff options
author | Neil Brown <neilb@suse.de> | 2006-05-29 02:06:32 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-05-29 02:06:32 +0000 |
commit | b56c3630901b7074f7f64989a39b73f6055f04e9 (patch) | |
tree | bbca33356908eb2a01d507716c6d39d102679113 /mdadm.h | |
parent | b1ec2d6a74ca0a4d139563c2a2a08f7903355843 (diff) | |
download | mdadm-b56c3630901b7074f7f64989a39b73f6055f04e9.tar.gz mdadm-b56c3630901b7074f7f64989a39b73f6055f04e9.tar.xz mdadm-b56c3630901b7074f7f64989a39b73f6055f04e9.zip |
add CFLAGS to mdassemble build and fix a couple of non-returning functions
pass CFLAGS to mdassemble build, enabling -Wall -Werror showed some
issues also fixed by the patch.
From: Luca Berra <bluca@vodka.it>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -44,10 +44,8 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); #include <errno.h> #include <string.h> #include <syslog.h> -#ifdef __dietlibc__NONO -int strncmp(const char *s1, const char *s2, size_t n) __THROW __pure__; -char *strncpy(char *dest, const char *src, size_t n) __THROW; -#include <strings.h> +#ifdef __dietlibc__ +#include <strings.h> #endif |