]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove _U_ when parameter is used
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 18 Aug 2016 07:41:01 +0000 (09:41 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Thu, 18 Aug 2016 07:41:01 +0000 (09:41 +0200)
print.c

diff --git a/print.c b/print.c
index 3a060d4158ccf248ad52f63e50aaaec444b59716..7825e128ea1c474507f809b434bcb466aaf58785 100644 (file)
--- a/print.c
+++ b/print.c
@@ -226,19 +226,19 @@ static const struct printer printers[] = {
 static void    ndo_default_print(netdissect_options *ndo, const u_char *bp,
                    u_int length);
 
 static void    ndo_default_print(netdissect_options *ndo, const u_char *bp,
                    u_int length);
 
-static void    ndo_error(netdissect_options *ndo _U_, const char *fmt, ...)
+static void    ndo_error(netdissect_options *ndo, const char *fmt, ...)
                    __attribute__((noreturn))
 #ifdef __ATTRIBUTE___FORMAT_OK
                    __attribute__((format (printf, 2, 3)))
 #endif /* __ATTRIBUTE___FORMAT_OK */
                    ;
                    __attribute__((noreturn))
 #ifdef __ATTRIBUTE___FORMAT_OK
                    __attribute__((format (printf, 2, 3)))
 #endif /* __ATTRIBUTE___FORMAT_OK */
                    ;
-static void    ndo_warning(netdissect_options *ndo _U_, const char *fmt, ...)
+static void    ndo_warning(netdissect_options *ndo, const char *fmt, ...)
 #ifdef __ATTRIBUTE___FORMAT_OK
                    __attribute__((format (printf, 2, 3)))
 #endif /* __ATTRIBUTE___FORMAT_OK */
                    ;
 
 #ifdef __ATTRIBUTE___FORMAT_OK
                    __attribute__((format (printf, 2, 3)))
 #endif /* __ATTRIBUTE___FORMAT_OK */
                    ;
 
-static int     ndo_printf(netdissect_options *ndo _U_, const char *fmt, ...)
+static int     ndo_printf(netdissect_options *ndo, const char *fmt, ...)
 #ifdef __ATTRIBUTE___FORMAT_OK
                     __attribute ((format (printf, 2, 3)))
 #endif /* __ATTRIBUTE___FORMAT_OK */
 #ifdef __ATTRIBUTE___FORMAT_OK
                     __attribute ((format (printf, 2, 3)))
 #endif /* __ATTRIBUTE___FORMAT_OK */
@@ -454,7 +454,7 @@ ndo_warning(netdissect_options *ndo, const char *fmt, ...)
 }
 
 static int
 }
 
 static int
-ndo_printf(netdissect_options *ndo _U_, const char *fmt, ...)
+ndo_printf(netdissect_options *ndo, const char *fmt, ...)
 {
        va_list args;
        int ret;
 {
        va_list args;
        int ret;