exit.h is replaced with stdlib.h.
authorBruno Haible <bruno@clisp.org>
Sun, 18 Feb 2007 21:08:06 +0000 (21:08 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 18 Feb 2007 21:08:06 +0000 (21:08 +0000)
ChangeLog
lib/argmatch.c
lib/copy-file.c
lib/execute.c
lib/exitfail.c
lib/pagealign_alloc.c
lib/pipe.c
lib/savewd.c
lib/wait-process.c
lib/xsetenv.c

index aaf8b0ba148867b7e02ae8b7a413714c84a47648..fda473c421c4b3d18752d389e451938f4bc8b4dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        (Depends-on): Add stdlib.
        (Makefile.am): Remove lib_SOURCES.
        (Include): Use <stdlib.h> instead of exit.h.
+       * lib/argmatch.c: Don't include exit.h.
+       * lib/execute.c: Likewise.
+       * lib/pagealign_alloc.c: Likewise.
+       * lib/pipe.c: Likewise.
+       * lib/wait-process.c: Likewise.
+       * lib/copy-file.c: Include <stdlib.h> instead of exit.h.
+       * lib/exitfail.c: Likewise.
+       * lib/savewd.c: Likewise.
+       * lib/xsetenv.c: Likewise.
+
 
        * modules/stdlib: New file.
        * lib/stdlib_.h: New file, incorporating exit.h, mkdtemp.h, mkstemp.h
index c6cdfcc8203cb77d31e478e5db00805ef0cd855a..72d92483ec3165bff600b1dc7b3d2b2867eeb259 100644 (file)
@@ -1,6 +1,6 @@
 /* argmatch.c -- find a match for a string in an array
 
-   Copyright (C) 1990, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006
+   Copyright (C) 1990, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007
    Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
@@ -34,7 +34,6 @@
 #define _(msgid) gettext (msgid)
 
 #include "error.h"
-#include "exit.h"
 #include "quotearg.h"
 #include "quote.h"
 
index 5a5dcf72c629e6b43cb49941cc650b5d1b65e897..5416c76f043ef2a291776d770ca43a3140a4a8e8 100644 (file)
@@ -1,5 +1,5 @@
 /* Copying of files.
-   Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2006-2007 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software; you can redistribute it and/or modify
@@ -25,6 +25,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stddef.h>
+#include <stdlib.h>
 #include <sys/stat.h>
 #include <unistd.h>
 
@@ -41,7 +42,6 @@
 #include "full-write.h"
 #include "acl.h"
 #include "binary-io.h"
-#include "exit.h"
 #include "gettext.h"
 
 #define _(str) gettext (str)
index 57664feacd0d482bba2b60a6ca410bd23625e189..ca0c89c8baa24d2ec938062111bdb888d7c8ce24 100644 (file)
@@ -30,7 +30,6 @@
 #include <unistd.h>
 
 #include "error.h"
-#include "exit.h"
 #include "fatal-signal.h"
 #include "wait-process.h"
 #include "gettext.h"
index 97abc674ecb10a6168080f5985aa03fad802dfa1..373d325c5ad732230eb91622476705a0808df919 100644 (file)
@@ -1,6 +1,6 @@
 /* Failure exit status
 
-   Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,7 @@
 #include <config.h>
 
 #include "exitfail.h"
-#include "exit.h"
+
+#include <stdlib.h>
 
 int volatile exit_failure = EXIT_FAILURE;
index c06dd0da4fab015859c34b08dfc108dcb91945ab..6c2043ccb66dc6bb3082765a5a2538a938350df2 100644 (file)
@@ -1,6 +1,6 @@
 /* Memory allocation aligned to system page boundaries.
 
-   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published
@@ -34,7 +34,6 @@
 #endif
 
 #include "error.h"
-#include "exit.h"
 #include "getpagesize.h"
 #include "xalloc.h"
 #include "gettext.h"
index a2f89a758bae345bc426df8b5d4eec2cfb6a4a72..6d075a6925e0588db6c86160c3bd8e415f5cc330 100644 (file)
@@ -29,7 +29,6 @@
 #include <unistd.h>
 
 #include "error.h"
-#include "exit.h"
 #include "fatal-signal.h"
 #include "wait-process.h"
 #include "gettext.h"
index 625c3cd4408d1ebab0dc785fd74444127dc3c2d8..58e0b613bdac7125c6b156c0b48e7a23a6462a42 100644 (file)
@@ -1,6 +1,6 @@
 /* Save and restore the working directory, possibly using a child process.
 
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include <fcntl.h>
 #include <signal.h>
 #include <stdbool.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <unistd.h>
 
-#include "exit.h"
 #include "dirname.h"
 #include "fcntl-safer.h"
 
index f39b41bf0939ff0a77d180f06300899d40967f51..268be32f61148e9b6da04b1d2a6b5c208074d8ee 100644 (file)
@@ -1,5 +1,5 @@
 /* Waiting for a subprocess to finish.
-   Copyright (C) 2001-2003, 2005-2006 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2005-2007 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software; you can redistribute it and/or modify
@@ -89,7 +89,6 @@
 #endif
 
 #include "error.h"
-#include "exit.h"
 #include "fatal-signal.h"
 #include "xalloc.h"
 #include "gettext.h"
index 83ef48e36622620bff85e8a9f08612fafb0fee74..01fb6e2271b9acad29354014bfd4d3e1504931c4 100644 (file)
@@ -1,5 +1,5 @@
 /* Setting environment variables, with out-of-memory checking.
-   Copyright (C) 2001-2002, 2005-2006 Free Software Foundation, Inc.
+   Copyright (C) 2001-2002, 2005-2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 /* Specification.  */
 #include "xsetenv.h"
 
+#include <stdlib.h>
+
 #include "setenv.h"
 #include "error.h"
-#include "exit.h"
 #include "gettext.h"
 
 #define _(str) gettext (str)