aboutsummaryrefslogtreecommitdiffhomepage
path: root/util.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-20 01:19:47 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-20 01:19:47 +1000
commit2d05b1c1b4cf51df30903a24d1d7944aa1b8eeb7 (patch)
tree8f447868c883184e67770e41e02c76321c38c038 /util.h
parentea998b03f236be4e8af73474d994af5bbc4b0287 (diff)
Add compiler warnings for some common incorrect usage of functions, such as forgetting to cast null pointers to variadic functions
darcs-hash:20061019151947-ac50b-4043638a7a830fa80fd918f92365f5afe3ff208a.gz
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 9f965508..27f25c0e 100644
--- a/util.h
+++ b/util.h
@@ -607,7 +607,7 @@ void sb_append_char( string_buffer_t *, wchar_t );
Do not forget to cast the last 0 to (void *), or you might encounter errors on 64-bit platforms!
*/
-void sb_append2( string_buffer_t *, ... );
+__sentinel void sb_append2( string_buffer_t *, ... );
/**
Append formated string data to the buffer. This function internally