forked from Imagelibrary/rtems
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
21 lines
344 B
C
21 lines
344 B
C
#if HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include <unistd.h>
|
|
#include <rtems/score/object.h>
|
|
|
|
/*
|
|
* 4.3.1 Get Process Group IDs, P1003.1b-1993, p. 89
|
|
*/
|
|
|
|
pid_t getpgrp( void )
|
|
{
|
|
/*
|
|
* This always succeeds and returns the process group id. For rtems,
|
|
* this will always be the local node;
|
|
*/
|
|
|
|
return _Objects_Local_node;
|
|
}
|