Deleted Added
full compact
db_input.c (256281) db_input.c (273265)
1/*-
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the

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

24 * rights to redistribute these changes.
25 */
26/*
27 * Author: David B. Golub, Carnegie Mellon University
28 * Date: 7/90
29 */
30
31#include <sys/cdefs.h>
1/*-
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the

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

24 * rights to redistribute these changes.
25 */
26/*
27 * Author: David B. Golub, Carnegie Mellon University
28 * Date: 7/90
29 */
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: stable/10/sys/ddb/db_input.c 229272 2012-01-02 12:12:10Z ed $");
32__FBSDID("$FreeBSD: stable/10/sys/ddb/db_input.c 273265 2014-10-18 19:22:59Z pfg $");
33
34#include <sys/param.h>
35#include <sys/systm.h>
36#include <sys/cons.h>
37
38#include <ddb/ddb.h>
39#include <ddb/db_output.h>
40

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

341 bcopy(lstart, db_lhistory + db_lhistidx * db_lhistlsize,
342 db_lhistlsize);
343 }
344
345 return (db_le - db_lbuf_start);
346}
347
348void
33
34#include <sys/param.h>
35#include <sys/systm.h>
36#include <sys/cons.h>
37
38#include <ddb/ddb.h>
39#include <ddb/db_output.h>
40

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

341 bcopy(lstart, db_lhistory + db_lhistidx * db_lhistlsize,
342 db_lhistlsize);
343 }
344
345 return (db_le - db_lbuf_start);
346}
347
348void
349db_check_interrupt()
349db_check_interrupt(void)
350{
351 register int c;
352
353 c = cnmaygetc();
354 switch (c) {
355 case -1: /* no character */
356 return;
357

--- 17 unchanged lines hidden ---
350{
351 register int c;
352
353 c = cnmaygetc();
354 switch (c) {
355 case -1: /* no character */
356 return;
357

--- 17 unchanged lines hidden ---