Mercurial > hg > octave-nkf > gnulib-hg
changeset 5134:10a94b3bbf2c
Include <stdbool.h>
(same_name): Return bool, not int.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 06 Aug 2004 06:18:46 +0000 (2004-08-06) |
parents | b8b3dfc3b415 |
children | 46d5c1c09035 |
files | lib/same.h |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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_ */