diff lib/same.h @ 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
parents c6450308f123
children a48fb0e98c8c
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_ */