# HG changeset patch # User Bruno Haible # Date 1136843330 0 # Node ID c01f6f225013785777a1cc49f95fd38ce0014e8e # Parent 5a5baa9aa4c5163585903934d3fa09922a317fd4 Define also EX_OK. diff --git a/lib/ChangeLog b/lib/ChangeLog --- 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 --- 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