1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00

* src/cksum.c (uint_fast32_t): Don't define.

Instead, include <stdint.h>.
This commit is contained in:
Jim Meyering
2006-10-14 12:04:31 +00:00
parent 32cfc1ffec
commit f3fbb64189
2 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,8 @@
2006-10-14 Jim Meyering <jim@meyering.net>
* src/cksum.c (uint_fast32_t): Don't define.
Instead, include <stdint.h>.
* src/pinky.c (S_IWGRP): Don't define.
It's already defined by "stat-macros.h" (included via system.h).

View File

@@ -1,5 +1,5 @@
/* cksum -- calculate and print POSIX checksums and sizes of files
Copyright (C) 92, 1995-2005 Free Software Foundation, Inc.
Copyright (C) 92, 1995-2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -42,12 +42,9 @@
#include <stdio.h>
#include <sys/types.h>
#include <stdint.h>
#include "system.h"
#if !defined UINT_FAST32_MAX && !defined uint_fast32_t
# define uint_fast32_t unsigned int
#endif
#ifdef CRCTAB
# define BIT(x) ((uint_fast32_t) 1 << (x))