summaryrefslogtreecommitdiff
path: root/beos/gui.cpp
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-05-01 22:04:03 +0100
committerVincent Sanders <vince@kyllikki.org>2016-05-01 22:04:03 +0100
commit91515e2b566bee852f00ad9dbe68bc2beb8d1504 (patch)
tree15474113ebe9352398d76570b84b55020d5e8206 /beos/gui.cpp
parent4d18947adb21aa3e06f2431900111ad17b58d80d (diff)
downloadnetsurf-91515e2b566bee852f00ad9dbe68bc2beb8d1504.tar.gz
netsurf-91515e2b566bee852f00ad9dbe68bc2beb8d1504.tar.bz2
update beos frontend to remove useage of depricated warn_user API
Diffstat (limited to 'beos/gui.cpp')
-rw-r--r--beos/gui.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/beos/gui.cpp b/beos/gui.cpp
index fde049525..4fd2ecf2c 100644
--- a/beos/gui.cpp
+++ b/beos/gui.cpp
@@ -113,13 +113,8 @@ static int sEventPipe[2];
// #pragma mark - class NSBrowserFrameView
-/**
- * Display a warning for a serious problem (eg memory exhaustion).
- *
- * \param warning message key for warning message
- * \param detail additional message, or 0
- */
-static nserror beos_warn_user(const char *warning, const char *detail)
+/* exported function defined in beos/gui.h */
+nserror beos_warn_user(const char *warning, const char *detail)
{
LOG("warn_user: %s (%s)", warning, detail);
BAlert *alert;