Define also EX_OK.
authorBruno Haible <bruno@clisp.org>
Mon, 9 Jan 2006 21:48:50 +0000 (21:48 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 9 Jan 2006 21:48:50 +0000 (21:48 +0000)
lib/ChangeLog
lib/sysexit_.h

index 9737f94..fc10381 100644 (file)
@@ -1,5 +1,10 @@
 2006-01-09  Bruno Haible  <bruno@clisp.org>
 
+       * sysexit_.h (EX_OK): New macro.
+       Suggested by Martin Lambers <marlam@marlam.de>.
+
+2006-01-09  Bruno Haible  <bruno@clisp.org>
+
        * javacomp.sh.in: Move to ../build-aux/javacomp.sh.in.
        * javaexec.sh.in: Move to ../build-aux/javaexec.sh.in.
        * csharpcomp.sh.in: Move to ../build-aux/csharpcomp.sh.in.
index 4e27f32..e519515 100644 (file)
@@ -1,5 +1,5 @@
 /* exit() exit codes for some BSD system programs.
-   Copyright (C) 2003 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2006 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,8 @@
 #ifndef _SYSEXITS_H
 #define _SYSEXITS_H
 
+#define EX_OK 0 /* same value as EXIT_SUCCESS */
+
 #define EX_USAGE 64
 #define EX_DATAERR 65
 #define EX_NOINPUT 66