[pisa-src] Re: r1066 - in trunk: . tools

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 13 Oct 2009 12:51:57 +0200

On Thu, Oct 08, 2009 at 06:50:09PM +0200, René Hummen wrote:
> 
> Log:
> added msleep as I didn't find a package (debian) for high precision 
> sleep...once again
> 
> Added:
>    trunk/tools/Makefile.am
>    trunk/tools/msleep.c
> 
> --- /dev/null 00:00:00 1970   (empty, because file is newly added)
> +++ trunk/tools/msleep.c      Thu Oct  8 18:50:08 2009        (r1066)
> @@ -0,0 +1,66 @@
> +
> + * @author Ren? Hummen <hummen@xxxxxxxxxxxxxxxxx>

We've been living in the 21st century for some time already, please
use UTF-8, not some legacy encoding.

> +useconds_t get_msecs_from_args(const int argc, char *argv[]);
> +
> +int main(int argc, char *argv[])
> +{
> +}
> +
> +useconds_t get_msecs_from_args(const int argc, char *argv[])
> +{
> +}

You can avoid this ugly forward declaration if you put the functions in
the proper order.

Diego

Other related posts: