From: Theodore Ts'o Date: Sun, 22 Feb 2004 02:04:30 +0000 (-0500) Subject: ext2fs.h (ext2fs_resize_mem): Fix C++ problem. (Addresses Red X-Git-Tag: E2FSPROGS-1_35~16 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=e47fd8414d3bd4632792cc52310e53edcfeea27c;p=tools%2Fe2fsprogs.git ext2fs.h (ext2fs_resize_mem): Fix C++ problem. (Addresses Red Hat Bugzilla #112448; thanks Thomas Woerner from Red Hat.) --- diff --git a/lib/ext2fs/ChangeLog b/lib/ext2fs/ChangeLog index 6e3c0d4..f90d2b2 100644 --- a/lib/ext2fs/ChangeLog +++ b/lib/ext2fs/ChangeLog @@ -1,3 +1,8 @@ +2004-02-21 Theodore Ts'o + + * ext2fs.h (ext2fs_resize_mem): Fix C++ problem. (Addresses Red + Hat Bugzilla #112448; thanks Thomas Woerner from Red Hat.) + 2004-02-14 Theodore Ts'o * namei.c (follow_link): Correctly deal with symlinks that have diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h index 92f273e..2536c92 100644 --- a/lib/ext2fs/ext2fs.h +++ b/lib/ext2fs/ext2fs.h @@ -977,7 +977,7 @@ _INLINE_ errcode_t ext2fs_free_mem(void *ptr) /* * Resize memory */ -_INLINE_ errcode_t ext2fs_resize_mem(unsigned long old_size EXT2FS_ATTR((unused)), +_INLINE_ errcode_t ext2fs_resize_mem(unsigned long EXT2FS_ATTR((unused)) old_size, unsigned long size, void *ptr) { void *p;