projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(STRXCASECMP_FUNCTION): Don't increment within macro argument list.
[gnulib.git]
/
lib
/
fileblocks.c
diff --git
a/lib/fileblocks.c
b/lib/fileblocks.c
index
e94d903
..
1a44516
100644
(file)
--- a/
lib/fileblocks.c
+++ b/
lib/fileblocks.c
@@
-17,7
+17,7
@@
/* Written by Brian L. Matthews, blm@6sceng.UUCP. */
\f
/* Written by Brian L. Matthews, blm@6sceng.UUCP. */
\f
-#if
def
HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include <config.h>
#endif
# include <config.h>
#endif
@@
-50,8
+50,7
@@
typedef long daddr_t; /* for disk address */
/* Return the number of 512-byte blocks in a file of SIZE bytes. */
off_t
/* Return the number of 512-byte blocks in a file of SIZE bytes. */
off_t
-st_blocks (size)
- off_t size;
+st_blocks (off_t size)
{
off_t datablks = size / 512 + (size % 512 != 0);
off_t indrblks = 0;
{
off_t datablks = size / 512 + (size % 512 != 0);
off_t indrblks = 0;