diff options
author | Yao Qi <yao@codesourcery.com> | 2012-08-23 01:41:05 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-08-23 01:41:05 +0000 |
commit | dc82f37bb79f03c929a9d4331ff48c8872a5741b (patch) | |
tree | 5e6997f5b1b0419cd95ac5dac3770a0db220e6a3 | |
parent | 7c2df51f4c58d05f84a7a78280ee32c3ef3cb0d4 (diff) | |
download | gdb-dc82f37bb79f03c929a9d4331ff48c8872a5741b.zip gdb-dc82f37bb79f03c929a9d4331ff48c8872a5741b.tar.gz gdb-dc82f37bb79f03c929a9d4331ff48c8872a5741b.tar.bz2 |
gdb/gdbserver/
* server.h: Remove declaration of 'xsnprintf'.
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/server.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index c57ccef..c764d97 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2012-08-23 Yao Qi <yao@codesourcery.com> + + * server.h: Remove declaration of 'xsnprintf'. + 2012-08-22 Keith Seitz <keiths@redhat.com> * server.h: Include build-gnulib-gbserver/config.h. diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index fd6fd26..a6ba0db 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -368,9 +368,8 @@ void *xmalloc (size_t) ATTR_MALLOC; void *xrealloc (void *, size_t); void *xcalloc (size_t, size_t) ATTR_MALLOC; char *xstrdup (const char *) ATTR_MALLOC; -int xsnprintf (char *str, size_t size, const char *format, ...) - ATTR_FORMAT (printf, 3, 4);; void freeargv (char **argv); + void perror_with_name (const char *string); void error (const char *string,...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2); void fatal (const char *string,...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2); |