On Thu, Jun 16, 2011 at 03:59:38PM +0200, Ludwig Nussel wrote: > -void uuid_generate(uuid_t out); > -void uuid_generate_random(uuid_t out); > -void uuid_generate_time(uuid_t out); > int uuid_generate_time_safe(uuid_t out) __attribute__((warn_unused_result)); > int uuid_generate_random_safe(uuid_t out) __attribute__((warn_unused_result)); > int uuid_generate_safe(uuid_t out) __attribute__((warn_unused_result)); > +#ifdef LIBUUID_UNSAFE_LEGACY_PROTOTYPES > +void uuid_generate(uuid_t out) __attribute__((deprecated)); > +void uuid_generate_random(uuid_t out) __attribute__((deprecated)); > +void uuid_generate_time(uuid_t out) __attribute__((deprecated)); > +#else > +static inline int uuid_generate_time(uuid_t out) { return uuid_generate_time_safe(out); } > +static inline int uuid_generate_random(uuid_t out) { return uuid_generate_random_safe(out); } > +static inline int uuid_generate(uuid_t out) { return uuid_generate_safe(out); } > +#endif Oh, <censored> ... :-) Please, move this change to your (SAP) applications. I really don't want to mess up the library API for a reason which is completely irrelevant for 99% of all users. I don't think that overwrite any exported symbols with in-line functions is a good way how maintain any API. I don't see a problem to support the *_safe functions for you, but don't force us to use it. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html