X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Finclude%2Frte_string_fns.h;h=cfca2f8df33c1f1520de235f0b6449458309d53e;hb=75583b0d1efd3fa7f8b8c66dd0e58212150f1d41;hp=cf96b2c7dc7e33219cd7ec08dd303cf8a047b3af;hpb=6f41fe75e2dd8dd38f7bea7b9501edd4f9b72fa5;p=dpdk.git diff --git a/lib/librte_eal/common/include/rte_string_fns.h b/lib/librte_eal/common/include/rte_string_fns.h index cf96b2c7dc..cfca2f8df3 100644 --- a/lib/librte_eal/common/include/rte_string_fns.h +++ b/lib/librte_eal/common/include/rte_string_fns.h @@ -44,30 +44,6 @@ extern "C" { #endif -/** - * This functio is deprecated and just for backward compatibility. - * It is just an alternate version of snprintf. - * - * @param buffer - * The buffer into which the output is to be written - * - * @param buflen - * The size of the output buffer - * - * @param format - * The format string to be printed to the buffer - * - * @return - * The number of characters written to the buffer, or if the string has been - * truncated, the number of characters which would have been written had the - * buffer been sufficiently big. - * - */ -int -rte_snprintf(char *buffer, int buflen, const char *format, ...) - __attribute__((format(printf,3,4))) - __attribute__((deprecated)); - /** * Takes string "string" parameter and splits it at character "delim" * up to maxtokens-1 times - to give "maxtokens" resulting tokens. Like