Deleted Added
full compact
qsort.c (13030) qsort.c (15312)
1/*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#if defined(LIBC_SCCS) && !defined(lint)
35#if 0
36static char sccsid[] = "@(#)qsort.c 8.1 (Berkeley) 6/4/93";
37#endif
38static const char rcsid[] =
1/*-
2 * Copyright (c) 1992, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#if defined(LIBC_SCCS) && !defined(lint)
35#if 0
36static char sccsid[] = "@(#)qsort.c 8.1 (Berkeley) 6/4/93";
37#endif
38static const char rcsid[] =
39 "$Id$";
39 "$Id: qsort.c,v 1.2 1995/12/26 13:24:47 bde Exp $";
40#endif /* LIBC_SCCS and not lint */
41
40#endif /* LIBC_SCCS and not lint */
41
42#include <sys/types.h>
43#include <stdlib.h>
44
45typedef int cmp_t __P((const void *, const void *));
46static inline char *med3 __P((char *, char *, char *, cmp_t *));
47static inline void swapfunc __P((char *, char *, int, int));
48
49#define min(a, b) (a) < (b) ? a : b
50

--- 129 unchanged lines hidden ---
42#include <stdlib.h>
43
44typedef int cmp_t __P((const void *, const void *));
45static inline char *med3 __P((char *, char *, char *, cmp_t *));
46static inline void swapfunc __P((char *, char *, int, int));
47
48#define min(a, b) (a) < (b) ? a : b
49

--- 129 unchanged lines hidden ---