summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-11-11 16:58:17 +0000
committerVincent Sanders <vince@kyllikki.org>2019-11-11 16:59:28 +0000
commitdae0ff3d26d92af373d69f834573d114504c2fe6 (patch)
tree9078d3ebbe0956cb0b56fafa78bdc8dbb79c7d59 /include
parent0e16c01cdcc3481eea85bcb152afcf0b519954d5 (diff)
downloadnetsurf-dae0ff3d26d92af373d69f834573d114504c2fe6.tar.gz
netsurf-dae0ff3d26d92af373d69f834573d114504c2fe6.tar.bz2
remove warning callback from miscelaneous function table
Diffstat (limited to 'include')
-rw-r--r--include/netsurf/misc.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/include/netsurf/misc.h b/include/netsurf/misc.h
index ac58cf302..8a7953192 100644
--- a/include/netsurf/misc.h
+++ b/include/netsurf/misc.h
@@ -22,8 +22,8 @@
* Interface to platform-specific miscellaneous browser operation table.
*/
-#ifndef _NETSURF_MISC_H_
-#define _NETSURF_MISC_H_
+#ifndef NETSURF_MISC_H_
+#define NETSURF_MISC_H_
struct form_control;
struct gui_window;
@@ -57,17 +57,6 @@ struct gui_misc_table {
*/
nserror (*schedule)(int t, void (*callback)(void *p), void *p);
- /**
- * Warn the user of an event.
- *
- * \param[in] message A warning looked up in the message
- * translation table
- * \param[in] detail Additional text to be displayed or NULL.
- * \return NSERROR_OK on success or error code if there was a
- * faliure displaying the message to the user.
- */
- nserror (*warning)(const char *message, const char *detail);
-
/* Optional entries */