summaryrefslogtreecommitdiff
path: root/wcsmbs/wcsstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcsstr.c')
-rw-r--r--wcsmbs/wcsstr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/wcsmbs/wcsstr.c b/wcsmbs/wcsstr.c
index a62c29eaec..a3449ba0b2 100644
--- a/wcsmbs/wcsstr.c
+++ b/wcsmbs/wcsstr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,9 +29,7 @@
#include <wchar.h>
wchar_t *
-wcsstr (haystack, needle)
- const wchar_t *haystack;
- const wchar_t *needle;
+wcsstr (const wchar_t *haystack, const wchar_t *needle)
{
wchar_t b, c;