Simplify C
This commit is contained in:
parent
d1b289ff8e
commit
4b3bf5dc4b
@ -20,12 +20,9 @@ extern void rust_main();
|
|||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
rust_main();
|
rust_main();
|
||||||
int r;
|
unsigned char *input = NULL;
|
||||||
unsigned char *input;
|
|
||||||
|
|
||||||
input = NULL;
|
int r = input_get(&input, "Enter input: ");
|
||||||
|
|
||||||
r = input_get(&input, "Enter input: ");
|
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
{
|
{
|
||||||
error_log("Could not get input.");
|
error_log("Could not get input.");
|
||||||
|
Loading…
Reference in New Issue
Block a user