Mercurial > hg > octave-kai > gnulib-hg
changeset 6526:c01f6f225013
Define also EX_OK.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 09 Jan 2006 21:48:50 +0000 |
parents | 5a5baa9aa4c5 |
children | 6b31c8787689 |
files | lib/ChangeLog lib/sysexit_.h |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +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.
--- 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