Files
rtems/testsuites/psxtests/psxhdrs/proc03.c
Ralf Corsepius a17ec5cbf2 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/proc01.c, psxhdrs/proc02.c, psxhdrs/proc03.c,
	psxhdrs/proc04.c, psxhdrs/proc05.c, psxhdrs/proc06.c,
	psxhdrs/proc07.c, psxhdrs/proc08.c, psxhdrs/proc09.c,
	psxhdrs/proc10.c, psxhdrs/proc11.c, psxhdrs/proc12.c,
	psxhdrs/proc13.c, psxhdrs/proc14.c:
	Let test() return values (avoid warnings).
2011-10-17 10:05:44 +00:00

32 lines
562 B
C

/*
* This test file is used to verify that the header files associated with
* invoking this function are correct.
*
* COPYRIGHT (c) 1989-2009.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
* $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h>
#include <sys/types.h>
int test( void );
int test( void )
{
uid_t uid;
uid = getuid();
return uid;
}