Mercurial > gnulib
changeset 20289:18af8bba2662
[HAVE_ST_BLOCKS || _POSIX_VERSION]: Add extern dcl
of unused variable so that after preprocessing, the file will never
be empty. Otherwise, some compilers in ANSI mode (among them, the
Dec Alpha OSF 2.0 C compiler) reject empty files. From Kaveh Ghazi.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 28 Apr 1996 21:34:00 +0000 |
parents | 8d13e41d83ea |
children | d6e6dfc60a2a |
files | lib/fileblocks.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/fileblocks.c Thu Apr 25 04:33:03 1996 +0000 +++ b/lib/fileblocks.c Sun Apr 28 21:34:00 1996 +0000 @@ -63,4 +63,8 @@ return datablks + indrblks; } +#else +/* This declaration is solely to ensure that after preprocessing + this file is never empty. */ +extern int textutils_fileblocks_unused; #endif