diff --git a/include/ChangeLog b/include/ChangeLog index f94becd94..724d0278b 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2010-10-06 Andi Kleen + + * libiberty.h (setproctitle): Add prototype. + 2010-09-29 Bernd Schmidt * opcode/tic6x-control-registers.h (tscl): Now read_write. diff --git a/include/libiberty.h b/include/libiberty.h index b320b18e9..f54ca18ca 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -634,6 +634,9 @@ extern int vsnprintf (char *, size_t, const char *, va_list) ATTRIBUTE_PRINTF(3, extern int strverscmp (const char *, const char *); #endif +/* Set the title of a process */ +extern void setproctitle (const char *name, ...); + #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) /* Drastically simplified alloca configurator. If we're using GCC,