linux/arch/blackfin/lib/strncmp.c
<<
>>
Prefs
   1/*
   2 * Provide symbol in case str func is not inlined.
   3 *
   4 * Copyright (c) 2006-2007 Analog Devices Inc.
   5 *
   6 * Licensed under the GPL-2 or later.
   7 */
   8
   9#define strncmp __inline_strncmp
  10#include <asm/string.h>
  11#include <linux/module.h>
  12#undef strncmp
  13
  14int strncmp(const char *cs, const char *ct, size_t count)
  15{
  16        return __inline_strncmp(cs, ct, count);
  17}
  18EXPORT_SYMBOL(strncmp);
  19