Move internal_{,v}warning to common/errors.[ch]
authorGary Benson <gbenson@redhat.com>
Mon, 4 Aug 2014 11:04:02 +0000 (12:04 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 29 Aug 2014 09:53:35 +0000 (10:53 +0100)
commite3d6ba5d322d871004e84b936e6509749a350325
tree975cbc463db136ec939958962a4947b17832c568
parent075c703382f5bed4ec0976dd11f3b5b694ce3cb1
Move internal_{,v}warning to common/errors.[ch]

This commit moves internal_warning and internal_vwarning into
common/errors.[ch].

gdb/ChangeLog:

* common/errors.h (internal_warning): New declaration.
(internal_vwarning): Likewise.
* common/errors.c (internal_warning): New function.
* utils.h (internal_warning): Don't declare.
(internal_vwarning): Likewise.
* utils.c (internal_warning): Removed.

gdb/gdbserver/ChangeLog:

* utils.c (internal_vwarning): New function.
gdb/ChangeLog
gdb/common/errors.c
gdb/common/errors.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/utils.c
gdb/utils.c
gdb/utils.h