X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fprogname.h;h=206c2cc063b32054b68303949be3455f88f85daf;hb=a74dcd0c2df4149148181beea2a8b5190619dbbe;hp=2088e00762c5a279483d93acb9872bc6172b3d42;hpb=a0b977a430af88ff58d9596a60670936eb7f1d31;p=gnulib.git diff --git a/lib/progname.h b/lib/progname.h index 2088e0076..206c2cc06 100644 --- 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 , 2001. This program is free software; you can redistribute it and/or modify @@ -14,13 +14,11 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _PROGNAME_H #define _PROGNAME_H -#include - /* Programs using this file should do the following in main(): set_program_name (argv[0]); */ @@ -44,6 +42,7 @@ extern void set_program_name (const char *argv0); 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)