diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 22:54:15 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 22:54:15 +0000 |
commit | 325ec4052e7e685df1388f85f141183fa504f032 (patch) | |
tree | 9695ebaab0c576029e23b07a07467c22c8986137 | |
parent | f8a01875253bfa44b2a06d4506408718f026b4ab (diff) | |
download | coreutils-325ec4052e7e685df1388f85f141183fa504f032.tar.xz |
Include <stdbool.h>.
(same_name): Return bool, not int.
-rw-r--r-- | lib/same.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/same.h b/lib/same.h index 9e2c17326..83c01b7e2 100644 --- a/lib/same.h +++ b/lib/same.h @@ -1,6 +1,6 @@ /* Determine whether two file names refer to the same file. - Copyright (C) 1997, 1998, 1999, 2000, 2003 Free Software + Copyright (C) 1997, 1998, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -20,6 +20,8 @@ #ifndef SAME_H_ # define SAME_H_ 1 -int same_name (const char *source, const char *dest); +# include <stdbool.h> + +bool same_name (const char *source, const char *dest); #endif /* SAME_H_ */ |