Displaying 2 results from an estimated 2 matches for "printf_attribut".
Did you mean:
printf_attribute
2002 Aug 07
0
Compiling Samba 2.2.5 on Tru64 UNIX
...f" referenced at line number 595 in file
smbd/server.c, parameter number 2 is of type "unsigned long", which is not
consistent with the expected type "long". It will be treated as an ordinary
external function. (intrinsicdecl)
int snprintf(char *,size_t ,const char *, ...) PRINTF_ATTRIBUTE(3,4);
--------------------^
I suspect this means, there are a declaration for snprintf and a function call
that are different in parameter description. Since I compiled-2.2.3a
successfully I didn't expect any warnings for 2.2.5. I compared samba-2.2.3a
lib/snprintf with samba-2.2.5 lib/snprin...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...ptr);
-_hidden void libxl_free(libxl_ctx *ctx, void *ptr);
-_hidden void libxl_free_all(libxl_ctx *ctx);
-_hidden void *libxl_zalloc(libxl_ctx *ctx, int bytes);
-_hidden void *libxl_calloc(libxl_ctx *ctx, size_t nmemb, size_t size);
-_hidden char *libxl_sprintf(libxl_ctx *ctx, const char *fmt, ...) PRINTF_ATTRIBUTE(2, 3);
-_hidden char *libxl_strdup(libxl_ctx *ctx, const char *c);
-_hidden char *libxl_dirname(libxl_ctx *ctx, const char *s);
+_hidden int libxl_ptr_add(libxl_gc *gc, void *ptr);
+_hidden void libxl_free(libxl_gc *gc, void *ptr);
+_hidden void libxl_free_all(libxl_gc *gc);
+_hidden void *libxl_z...