=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sed/misc.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/sed/misc.c 2006/10/09 00:23:57 1.7 --- src/usr.bin/sed/misc.c 2008/10/08 17:26:47 1.8 *************** *** 1,4 **** ! /* $OpenBSD: misc.c,v 1.7 2006/10/09 00:23:57 tedu Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. --- 1,4 ---- ! /* $OpenBSD: misc.c,v 1.8 2008/10/08 17:26:47 millert Exp $ */ /*- * Copyright (c) 1992 Diomidis Spinellis. *************** *** 35,41 **** #ifndef lint /* from: static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93"; */ ! static const char rcsid[] = "$OpenBSD: misc.c,v 1.7 2006/10/09 00:23:57 tedu Exp $"; #endif /* not lint */ #include --- 35,41 ---- #ifndef lint /* from: static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93"; */ ! static const char rcsid[] = "$OpenBSD: misc.c,v 1.8 2008/10/08 17:26:47 millert Exp $"; #endif /* not lint */ #include *************** *** 54,60 **** * malloc with result test */ void * ! xmalloc(u_int size) { void *p; --- 54,60 ---- * malloc with result test */ void * ! xmalloc(size_t size) { void *p; *************** *** 67,73 **** * realloc with result test */ void * ! xrealloc(void *p, u_int size) { if ((p = realloc(p, size)) == NULL) --- 67,73 ---- * realloc with result test */ void * ! xrealloc(void *p, size_t size) { if ((p = realloc(p, size)) == NULL)