Include <stdbool.h>
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Aug 2004 06:18:46 +0000 (06:18 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 6 Aug 2004 06:18:46 +0000 (06:18 +0000)
(same_name): Return bool, not int.

lib/same.h

index 9e2c173266d462239919ad181bb94c4528ce947b..83c01b7e2a2b4835ebf347c42b14a7c488646c41 100644 (file)
@@ -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_ */