Mercurial > hg > octave-nkf > gnulib-hg
changeset 7572:4aea3bda39c7
Avoid a gcc warning.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 26 Oct 2006 11:36:41 +0000 |
parents | adab1ce316f9 |
children | 2d7222ab82dc |
files | ChangeLog lib/progname.h |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-10-25 Bruno Haible <bruno@clisp.org> + + * lib/progname.h (set_program_name): Undefine before defining. + 2006-10-25 Bruno Haible <bruno@clisp.org> * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to
--- a/lib/progname.h +++ b/lib/progname.h @@ -1,5 +1,5 @@ /* Program name management. - Copyright (C) 2001-2004 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006 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 @@ -42,6 +42,7 @@ extern void set_program_name_and_installdir (const char *argv0, const char *orig_installprefix, const char *orig_installdir); +#undef set_program_name #define set_program_name(ARG0) \ set_program_name_and_installdir (ARG0, INSTALLPREFIX, INSTALLDIR)