From 3b0c1fab1c5c2e7a38ca9ab8d213db44d553ea0f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 9 Jan 2006 21:48:50 +0000 Subject: [PATCH] Define also EX_OK. --- lib/ChangeLog | 5 +++++ lib/sysexit_.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 9737f94e32..fc10381d13 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2006-01-09 Bruno Haible + + * sysexit_.h (EX_OK): New macro. + Suggested by Martin Lambers . + 2006-01-09 Bruno Haible * javacomp.sh.in: Move to ../build-aux/javacomp.sh.in. diff --git a/lib/sysexit_.h b/lib/sysexit_.h index 4e27f325d4..e5195155b7 100644 --- a/lib/sysexit_.h +++ b/lib/sysexit_.h @@ -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 -- 2.30.2