[dpdk-dev] [PATCH v2 7/7] examples/l3fwd: change the guard micro name for header file

Sekhar, Ashwin Ashwin.Sekhar at cavium.com
Wed May 10 13:57:52 CEST 2017


In commit message:
s/micro/macro/

On Wed, 2017-05-10 at 10:30 +0800, Jianbo Liu wrote:
> As l3fwd_em_sse.h is renamed to l3fwd_em_sequential.h, change the
> macro
> to __L3FWD_EM_SEQUENTIAL_H__ to maintain consistency.
> 
> Signed-off-by: Jianbo Liu <jianbo.liu at linaro.org>
> ---
>  examples/l3fwd/l3fwd_em_sequential.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/examples/l3fwd/l3fwd_em_sequential.h
> b/examples/l3fwd/l3fwd_em_sequential.h
> index c3df473..63c5c12 100644
> --- a/examples/l3fwd/l3fwd_em_sequential.h
> +++ b/examples/l3fwd/l3fwd_em_sequential.h
> @@ -31,8 +31,8 @@
>   *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
> DAMAGE.
>   */
>  
> -#ifndef __L3FWD_EM_SSE_H__
> -#define __L3FWD_EM_SSE_H__
> +#ifndef __L3FWD_EM_SEQUENTIAL_H__
> +#define __L3FWD_EM_SEQUENTIAL_H__
>  
>  /**
>   * @file
> @@ -125,4 +125,4 @@ static inline __attribute__((always_inline))
> uint16_t
>  
>  	send_packets_multi(qconf, pkts_burst, dst_port, nb_rx);
>  }
> -#endif /* __L3FWD_EM_SSE_H__ */
> +#endif /* __L3FWD_EM_SEQUENTIAL_H__ */


More information about the dev mailing list