X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=cheat.c;h=ebbc1661397b66e8edf43a3041b4a9b688edadf4;hb=25230068fe3afb9d1faa9c606413784294700cef;hp=d25e218fdf9a70b153b16cf836e8758037683105;hpb=bb2b8e0fcad10cf896acd1bfd42267c40f4f21ea;p=open-adventure.git diff --git a/cheat.c b/cheat.c index d25e218..ebbc166 100644 --- a/cheat.c +++ b/cheat.c @@ -1,12 +1,12 @@ /* * 'cheat' is a tool for generating save game files to test states that ought * not happen. It leverages chunks of advent, mostly initialize() and - * savefile(), so we know we're always outputing save files that advent + * savefile(), so we know we're always outputting save files that advent * can import. * - * Copyright (c) 1977, 2005 by Will Crowther and Don Woods - * Copyright (c) 2017 by Eric S. Raymond - * SPDX-License-Identifier: BSD-2-clause + * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods + * SPDX-FileCopyrightText: 2017 by Eric S. Raymond + * SPDX-License-Identifier: BSD-2-Clause */ #include #include @@ -98,13 +98,18 @@ int main(int argc, char *argv[]) return EXIT_SUCCESS; } -/* +// LCOV_EXCL_START +/* * Ugh...unused, but required for linkage. - * See thje actually useful version of this in main.c + * See the actually useful version of this in main.c */ char *myreadline(const char *prompt) { return readline(prompt); } +// LCOV_EXCL_STOP + +/* end */ +