summaryrefslogtreecommitdiffstats
path: root/gnulib-local/lib/obstack.h.diff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-08-02 14:24:33 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:13:50 +0200
commita1d7d419235869938d350dd6003a71c078fda0ef (patch)
tree4045c3fbbdffb355db33ac36bd652949a8f50874 /gnulib-local/lib/obstack.h.diff
parent9ce182cf65e367b76bd0a01e2b2e7cb40c0d06e6 (diff)
downloadexternal_gettext-a1d7d419235869938d350dd6003a71c078fda0ef.zip
external_gettext-a1d7d419235869938d350dd6003a71c078fda0ef.tar.gz
external_gettext-a1d7d419235869938d350dd6003a71c078fda0ef.tar.bz2
Initial overrides of gnulib for gettext-tools.
Diffstat (limited to 'gnulib-local/lib/obstack.h.diff')
-rw-r--r--gnulib-local/lib/obstack.h.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnulib-local/lib/obstack.h.diff b/gnulib-local/lib/obstack.h.diff
new file mode 100644
index 0000000..c2dc6ae
--- /dev/null
+++ b/gnulib-local/lib/obstack.h.diff
@@ -0,0 +1,25 @@
+*** gnulib/lib/obstack.h 2005-10-15 01:23:50.000000000 +0200
+--- gettext-tools/lib/obstack.h 2006-07-22 17:48:51.000000000 +0200
+***************
+*** 193,202 ****
+ more memory. This can be set to a user defined function which
+ should either abort gracefully or use longjump - but shouldn't
+ return. The default action is to print a message and abort. */
+! extern void (*obstack_alloc_failed_handler) (void);
+
+ /* Exit value used when `print_and_abort' is used. */
+! extern int obstack_exit_failure;
+
+ /* Pointer to beginning of object being allocated or to be allocated next.
+ Note that this might not be the final address of the object
+--- 192,201 ----
+ more memory. This can be set to a user defined function which
+ should either abort gracefully or use longjump - but shouldn't
+ return. The default action is to print a message and abort. */
+! extern DLL_VARIABLE void (*obstack_alloc_failed_handler) (void);
+
+ /* Exit value used when `print_and_abort' is used. */
+! extern DLL_VARIABLE int obstack_exit_failure;
+
+ /* Pointer to beginning of object being allocated or to be allocated next.
+ Note that this might not be the final address of the object