projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fbd02d
)
[HAVE_ST_BLOCKS || _POSIX_VERSION]: Add extern dcl
author
Jim Meyering
<jim@meyering.net>
Sun, 28 Apr 1996 21:34:00 +0000
(21:34 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 28 Apr 1996 21:34:00 +0000
(21:34 +0000)
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.
lib/fileblocks.c
patch
|
blob
|
history
diff --git
a/lib/fileblocks.c
b/lib/fileblocks.c
index e85bf17bcaf9963348a9f6438c8a200682744ce8..31425c162225bf34fa97326ab2dc6f8520a2405c 100644
(file)
--- a/
lib/fileblocks.c
+++ b/
lib/fileblocks.c
@@
-63,4
+63,8
@@
st_blocks (size)
return datablks + indrblks;
}
+#else
+/* This declaration is solely to ensure that after preprocessing
+ this file is never empty. */
+extern int textutils_fileblocks_unused;
#endif