2005-01-21 Hans-Peter Nilsson <hp@axis.com>

* libnosys/warning.h (stub_warning): Remove "warning: " prefix.
This commit is contained in:
Jeff Johnston 2005-01-21 21:55:07 +00:00
parent 2804a58c4c
commit b87d70463e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-01-21 Hans-Peter Nilsson <hp@axis.com>
* libnosys/warning.h (stub_warning): Remove "warning: " prefix.
2005-01-18 Hans-Peter Nilsson <hp@axis.com>
* libnosys/warning.h (link_warning) [HAVE_GNU_LD and HAVE_ELF]:

View File

@ -35,9 +35,10 @@
# define link_warning(symbol, msg)
#endif
/* A canned warning for sysdeps/stub functions. */
/* A canned warning for sysdeps/stub functions.
The GNU linker prepends a "warning: " string. */
#define stub_warning(name) \
link_warning (name, \
"warning: " #name " is not implemented and will always fail")
#name " is not implemented and will always fail")
#endif /* __WARNING_H__ */