aboutsummaryrefslogtreecommitdiff
path: root/gl/strnlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/strnlen.c')
-rw-r--r--gl/strnlen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gl/strnlen.c b/gl/strnlen.c
index 593fd1b7..93d1ac14 100644
--- a/gl/strnlen.c
+++ b/gl/strnlen.c
@@ -1,10 +1,10 @@
/* Find the length of STRING, but scan at most MAXLEN characters.
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
Written by Simon Josefsson.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
#include <config.h>
-#include "strnlen.h"
+#include <string.h>
/* Find the length of STRING, but scan at most MAXLEN characters.
If no '\0' terminator is found in that many characters, return MAXLEN. */