view toys/false.c @ 186:25447caf1b4b

Change command main() functions to return void, and exit(toys.exitval) from the toybox infrastructure instead. Eliminates a return call from each command.
author Rob Landley <rob@landley.net>
date Thu, 29 Nov 2007 18:14:37 -0600
parents a0678c2ae9b8
children 30a6db5a95c2
line wrap: on
line source

/* vi: set sw=4 ts=4: */
/*
 * false.c - Return nonzero.
 */

#include "toys.h"

void false_main(void)
{
	toys.exitval = 1;
}