update pam config to use common-session
[debian/sudo] / strlcpy.c
index b03316dc377e13f1fefc2d8f166057e9948a7004..df2e677418fadd7479426212d0d6adbdedf7d20e 100644 (file)
--- a/strlcpy.c
+++ b/strlcpy.c
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <sys/types.h>
-
 #include <config.h>
-#include <compat.h>
 
-#ifndef lint
-__unused static const char rcsid[] = "$Sudo: strlcpy.c,v 1.7 2005/02/12 22:56:06 millert Exp $";
-#endif /* lint */
+#include <sys/types.h>
+
+#include "missing.h"
 
 /*
  * Copy src to string dst of size siz.  At most siz-1 characters
@@ -56,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 */
 }