update pam config to use common-session
[debian/sudo] / strlcpy.c
index 6350b7bcd4c58ae09a7372542522857fa9118f2e..df2e677418fadd7479426212d0d6adbdedf7d20e 100644 (file)
--- a/strlcpy.c
+++ b/strlcpy.c
@@ -1,7 +1,7 @@
 /*     $OpenBSD: strlcpy.c,v 1.5 2001/05/13 15:40:16 deraadt Exp $     */
 
 /*
- * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 1998, 2003-2005 Todd C. Miller <Todd.Miller@courtesan.com>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <sys/types.h>
+#include <config.h>
 
-#include "config.h"
+#include <sys/types.h>
 
-#ifndef lint
-static const char rcsid[] = "$Sudo: strlcpy.c,v 1.4 2004/02/14 15:13:57 aaron Exp $";
-#endif /* lint */
+#include "missing.h"
 
 /*
  * Copy src to string dst of size siz.  At most siz-1 characters
@@ -55,5 +53,5 @@ strlcpy(dst, src, siz)
                        ;
        }
 
-       return(s - src - 1);    /* count does not include NUL */
+       return s - src - 1;     /* count does not include NUL */
 }