]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* src/cksum.c (uint_fast32_t): Don't define.
authorJim Meyering <jim@meyering.net>
Sat, 14 Oct 2006 12:04:31 +0000 (12:04 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 14 Oct 2006 12:04:31 +0000 (12:04 +0000)
Instead, include <stdint.h>.

ChangeLog
src/cksum.c

index 1f4c6c2c1db9702c90d7020de61d14de238c1d89..0e74305551503104d60408d88ab9087f58a81771 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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).
 
index 0dce68ccadf8fc07c41e080701d077e3e878e2ba..d93877fa50262b11825f1954e357cd7c29460697 100644 (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
 
 #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))