Include <stdbool.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 21:06:22 +0000 (21:06 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 Aug 2004 21:06:22 +0000 (21:06 +0000)
commit27454c431f877bc8c4d5e71f5d0d1b244b681d46
tree7feda25adafa6fbaf3ba30f1bf44131f8629b6af
parentd0cbf9ff71bdf7744ed72f12709a4e2f56e1c2bd
Include <stdbool.h>.
(errno): Remove decl; we now assume C89 or better.
(save_cwd): Use bool for booleans.
(save_cwd, restore_cwd): Return -1 on failure, not 1, since we set
errno on failure.
lib/save-cwd.c