simple_math.c
author viric <viriketo@gmail.com>
Wed, 16 Feb 2011 21:07:11 +0100
branchsaveflie
changeset 95 13360d8af313
parent 53 07500c5c53cb
permissions -rw-r--r--
Fixing a problem on savefile (stdin was not saved well, and the file not truncated)

/*
    Terminal Mixer - multi-point multi-user access to terminal applications
    Copyright (C) 2007  LluĂ­s Batlle i Rossell

    Please find the license in the provided COPYING file.
*/
#include "main.h"

int max(int a, int b)
{
    if (a > b)
        return a;
    return b;
}

int min(int a, int b)
{
    if (a < b)
        return a;
    return b;
}