From owner-svn-src-head@freebsd.org Wed Nov 29 12:49:23 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E049EE533C5; Wed, 29 Nov 2017 12:49:23 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A92A2730B3; Wed, 29 Nov 2017 12:49:23 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vATCnM1I075504; Wed, 29 Nov 2017 12:49:22 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vATCnMaF075503; Wed, 29 Nov 2017 12:49:22 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201711291249.vATCnMaF075503@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Wed, 29 Nov 2017 12:49:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326364 - head/sys/kern X-SVN-Group: head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/sys/kern X-SVN-Commit-Revision: 326364 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2017 12:49:24 -0000 Author: danfe (ports committer) Date: Wed Nov 29 12:49:22 2017 New Revision: 326364 URL: https://svnweb.freebsd.org/changeset/base/326364 Log: Fix several noticed style issues. Reviewed by: bde Approved by: bapt Modified: head/sys/kern/subr_kdb.c Modified: head/sys/kern/subr_kdb.c ============================================================================== --- head/sys/kern/subr_kdb.c Wed Nov 29 10:04:11 2017 (r326363) +++ head/sys/kern/subr_kdb.c Wed Nov 29 12:49:22 2017 (r326364) @@ -250,7 +250,6 @@ kdb_reboot(void) * its arguments. Its up to the caller to ensure that the state variable is * consistent. */ - #define KEY_CR 13 /* CR '\r' */ #define KEY_TILDE 126 /* ~ */ #define KEY_CRTLB 2 /* ^B */ @@ -362,7 +361,6 @@ kdb_alt_break_gdb(int key, int *state) * is selected or the current debugger does not support backtraces, this * function silently returns. */ - void kdb_backtrace(void) { @@ -410,7 +408,6 @@ kdb_backtrace_thread(struct thread *td) /* * Set/change the current backend. */ - int kdb_dbbe_select(const char *name) { @@ -450,7 +447,6 @@ kdb_enter(const char *why, const char *msg) /* * Initialize the kernel debugger interface. */ - void kdb_init(void) { @@ -485,7 +481,6 @@ kdb_init(void) /* * Handle contexts. */ - void * kdb_jmpbuf(jmp_buf new) { @@ -521,9 +516,8 @@ kdb_reenter_silent(void) } /* - * Thread related support functions. + * Thread-related support functions. */ - struct pcb * kdb_thr_ctx(struct thread *thr) { @@ -617,7 +611,6 @@ kdb_thr_select(struct thread *thr) /* * Enter the debugger due to a trap. */ - int kdb_trap(int type, int code, struct trapframe *tf) {