Added prototyping stuff

This commit is contained in:
ceriel
1993-11-10 12:09:49 +00:00
parent 80982665a3
commit d28c22adf4
37 changed files with 205 additions and 94 deletions

View File

@@ -6,10 +6,13 @@
/* return negative, zero or positive value if
resp. s < t, s == t or s > t; compare at most n characters
*/
#include "ack_string.h"
int
strncmp(s, t, n)
register char *s, *t;
register int n;
register _CONST char *s, *t;
register _SIZET n;
{
while (n-- > 0) {
if (*s == *t++) {