dtrace: Add missing const attributes to types in glib_probes.d

This eliminates some ‘discards const qualifier’ warnings when compiling
on Solaris with --enable-dtrace.

See the log files in
https://gitlab.gnome.org/GNOME/glib/issues/1493#note_299037.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2018-08-25 23:59:45 +01:00
parent f59cb6827a
commit 41cc3850ff

View File

@ -4,16 +4,16 @@ provider glib {
probe mem__free(void*);
probe slice__alloc(void*, unsigned int);
probe slice__free(void*, unsigned int);
probe quark__new(char *, unsigned int);
probe quark__new(const char *, unsigned int);
probe main__after_prepare(void*, void*, unsigned int);
probe main__after_check(void*, void*, unsigned int);
probe main__before_dispatch(char*, void*, void*, void*, void*);
probe main__after_dispatch(char*, void*, void*, unsigned int);
probe main__source_attach(char*, void*, void*, unsigned int);
probe main__source_destroy(char*, void*, void*);
probe main__before_dispatch(const char*, void*, void*, void*, void*);
probe main__after_dispatch(const char*, void*, void*, unsigned int);
probe main__source_attach(const char*, void*, void*, unsigned int);
probe main__source_destroy(const char*, void*, void*);
probe main__context_default(void*);
probe main__context_new(void*);
probe main__context_acquire(void*, void*);
probe main__context_acquire(void*, int);
probe main__context_release(void*);
probe main__context_free(void*);
probe main__context_push_thread_default(void*);