X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=extras%2Fcore-handler%2Fcrash.c;h=bc7296814f4011e37365a5125da1fe73f5bed3a1;hb=0267b5278de7bf4ee1ec11f2270dec4b44e80f36;hp=2b9cf4a72ab841728461f5ed9bfa3eb1b1959245;hpb=57f0bd0c140c6a5b1f48b45a6680c55348ddbe96;p=lttng-tools.git diff --git a/extras/core-handler/crash.c b/extras/core-handler/crash.c index 2b9cf4a72..bc7296814 100644 --- a/extras/core-handler/crash.c +++ b/extras/core-handler/crash.c @@ -1,24 +1,14 @@ /* - * Copyright (C) 2013 - Christian Babeux + * Copyright (C) 2013 Christian Babeux * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include -int main(int argc, char *argv[]) +int main(void) { raise(SIGSEGV); return 0;