view toys/true.c @ 512:9bcc288a1c54 0.2.1

Fix from Georgi Chorbadzhiyski to make cross compiling more robust.
author Rob Landley <rob@landley.net>
date Sat, 03 Mar 2012 10:56:11 -0600
parents 163498bf547b
children
line wrap: on
line source

/* vi: set sw=4 ts=4:
 *
 * true.c - Return zero.
 *
 * Copyright 2007 Rob Landley <rob@landley.net>
 *
 * See http://www.opengroup.org/onlinepubs/009695399/utilities/true.html

USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN))

config TRUE
	bool "true"
	default y
	help
	  Return zero.
*/

#include "toys.h"

void true_main(void)
{
	return;
}