psxhdrs: Fix spacing

This commit is contained in:
Joel Sherrill
2018-12-05 16:07:33 -06:00
parent 36e1b8204f
commit cbb08b6176
34 changed files with 926 additions and 926 deletions

View File

@@ -3,7 +3,7 @@
* @brief assert() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Jacob Shin
*

View File

@@ -2,7 +2,8 @@
* @file
* @brief dlclose() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -18,16 +19,16 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dlfcn.h>
#include <dlfcn.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
void *filename;
int result;
@@ -35,4 +36,4 @@
result = dlclose( filename );
return result;
}
}

View File

@@ -2,7 +2,8 @@
* @file
* @brief dlerror() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -18,19 +19,20 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dlfcn.h>
#include <dlfcn.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
const char *errstr;
errstr = dlerror();
return (errstr != NULL);
}
}

View File

@@ -2,7 +2,8 @@
* @file
* @brief dlopen() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -18,23 +19,20 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dlfcn.h>
#include <dlfcn.h>
int test( void );
int test( void );
int result = 1;
int test( void )
{
int test( void )
{
void *filename;
filename = dlopen( "mylib.so", RTLD_LOCAL | RTLD_LAZY );
(void) filename;
result = 0;
return result;
}
return (filename != NULL);
}

View File

@@ -3,7 +3,7 @@
* @brief fnmatch() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Jacob Shin
*

View File

@@ -3,7 +3,7 @@
* @brief iconv() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Jacob Shin
*
@@ -29,7 +29,6 @@ int test( void );
int test( void )
{
iconv_t cd = iconv_open("ASCII", "UTF-8");
char inbuf[10] = "string";
char outbuf[10];

View File

@@ -3,7 +3,7 @@
* @brief iconv_close() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Jacob Shin
*

View File

@@ -3,7 +3,7 @@
* @brief iconv_open() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Jacob Shin
*

View File

@@ -3,7 +3,7 @@
* @brief nl_langinfo() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Jacob Shin
*

View File

@@ -3,7 +3,7 @@
* @brief nl_langinfo_l() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Jacob Shin
*

View File

@@ -3,7 +3,7 @@
* @brief strfmon() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Jacob Shin
*

View File

@@ -3,7 +3,7 @@
* @brief strfmon_l() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Jacob Shin
*

View File

@@ -3,7 +3,7 @@
* @brief mq_close() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,20 +19,20 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <mqueue.h>
#include <fcntl.h>
#include <mqueue.h>
int test( void );
int test( void );
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
int test( void )
{
int test( void )
{
mqd_t mqdes;
struct mq_attr mqstat;
const char *q_name;
@@ -46,4 +46,4 @@
result = mq_close( mqdes );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief mq_getattr() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,20 +19,20 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <mqueue.h>
#include <fcntl.h>
#include <mqueue.h>
int test( void );
int test( void );
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
int test( void )
{
int test( void )
{
mqd_t mqdes;
struct mq_attr mqstat;
const char *q_name;
@@ -46,4 +46,4 @@
result = mq_getattr( mqdes, &mqstat );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief mq_notify() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,20 +19,20 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <mqueue.h>
#include <fcntl.h>
#include <mqueue.h>
int test( void );
int test( void );
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
int test( void )
{
int test( void )
{
mqd_t mqdes;
struct mq_attr mqstat;
struct sigevent sevp;
@@ -49,4 +49,4 @@
result = mq_notify( mqdes, &sevp );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief mq_open() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,22 +19,22 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <mqueue.h>
#include <fcntl.h>
#include <mqueue.h>
int test( void );
int test( void );
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
int result = 1;
int result = 1;
int test( void )
{
int test( void )
{
mqd_t mqdes;
struct mq_attr mqstat;
const char *q_name;
@@ -48,4 +48,4 @@
(void) mqdes;
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief mq_receive() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,20 +19,20 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <mqueue.h>
#include <fcntl.h>
#include <mqueue.h>
int test( void );
int test( void );
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
int test( void )
{
int test( void )
{
mqd_t mqdes;
struct mq_attr mqstat;
const char *q_name;
@@ -49,4 +49,4 @@
result = mq_receive( mqdes, (char *)message, MQ_MSGSIZE, &msg_prio );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief mq_send() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,20 +19,20 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <mqueue.h>
#include <fcntl.h>
#include <mqueue.h>
int test( void );
int test( void );
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
int test( void )
{
int test( void )
{
mqd_t mqdes;
struct mq_attr mqstat;
const char *q_name;
@@ -50,4 +50,4 @@
result = mq_send( mqdes, (const char *)&msg_ptr, MQ_MSGSIZE, msg_prio );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief mq_setattr() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,20 +19,20 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <mqueue.h>
#include <fcntl.h>
#include <mqueue.h>
int test( void );
int test( void );
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
int test( void )
{
int test( void )
{
mqd_t mqdes;
struct mq_attr mqstat;
struct mq_attr *omqstat = NULL;
@@ -47,4 +47,4 @@
result = mq_setattr( mqdes, &mqstat, omqstat );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief mq_timedreceive() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,21 +19,21 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <time.h>
#include <mqueue.h>
#include <fcntl.h>
#include <time.h>
#include <mqueue.h>
int test( void );
int test( void );
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
int test( void )
{
int test( void )
{
mqd_t mqdes;
struct mq_attr mqstat;
const char *q_name;
@@ -54,4 +54,4 @@
mqdes, (char *)message, MQ_MSGSIZE, &msg_prio, &abs_timeout );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief mq_timedsend() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,21 +19,21 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <time.h>
#include <mqueue.h>
#include <fcntl.h>
#include <time.h>
#include <mqueue.h>
int test( void );
int test( void );
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
#define MQ_MAXMSG 1
#define MQ_MSGSIZE sizeof(int)
int test( void )
{
int test( void )
{
mqd_t mqdes;
struct mq_attr mqstat;
const char *q_name;
@@ -55,4 +55,4 @@
mqdes, (const char *)&msg_ptr, MQ_MSGSIZE, msg_prio, &abs_timeout);
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief mq_unlink() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,16 +19,16 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <mqueue.h>
#include <mqueue.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
const char *q_name;
int result;
@@ -36,4 +36,4 @@
result = mq_unlink( q_name );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief sem_close() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,18 +19,18 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <sys/stat.h>
#include <semaphore.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <semaphore.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
sem_t *sem1;
int oflag = O_CREAT;
int result;
@@ -42,4 +42,4 @@
result = sem_close( sem1 );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief sem_destroy() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,18 +19,18 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <sys/stat.h>
#include <semaphore.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <semaphore.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
sem_t *sem1;
int oflag = O_CREAT;
int result;
@@ -42,4 +42,4 @@
result = sem_destroy( sem1 );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief sem_getval() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,16 +19,16 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <semaphore.h>
#include <semaphore.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
sem_t sem;
int pshared;
unsigned int value;
@@ -43,4 +43,4 @@
result = sem_getvalue( &sem, &sval );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief sem_init() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,16 +19,16 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <semaphore.h>
#include <semaphore.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
sem_t sem;
int pshared;
unsigned int value;
@@ -40,4 +40,4 @@
result = sem_init( &sem, pshared, value );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief sem_open() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,20 +19,20 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <sys/stat.h>
#include <semaphore.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <semaphore.h>
int test( void );
int test( void );
int result = 1;
int result = 1;
int test( void )
{
int test( void )
{
sem_t *sem1;
int oflag = O_CREAT;
unsigned int value;
@@ -43,4 +43,4 @@
(void) sem1;
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief sem_post() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,16 +19,16 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <semaphore.h>
#include <semaphore.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
sem_t sem;
int pshared;
unsigned int value;
@@ -41,4 +41,4 @@
result = sem_post( &sem );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief sem_timedwait() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,18 +19,18 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h>
#include <time.h>
#include <semaphore.h>
#include <fcntl.h>
#include <time.h>
#include <semaphore.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
sem_t sem;
struct timespec abs_timeout;
int pshared;
@@ -46,4 +46,4 @@
result = sem_timedwait( &sem, &abs_timeout );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief sem_trywait() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,16 +19,16 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <semaphore.h>
#include <semaphore.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
sem_t sem;
int pshared;
unsigned int value;
@@ -41,4 +41,4 @@
result = sem_trywait( &sem );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief sem_unlink() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,16 +19,16 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <semaphore.h>
#include <semaphore.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
sem_t sem;
int pshared;
unsigned int value;
@@ -41,4 +41,4 @@
result = sem_unlink( "sem" );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief sem_wait() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Himanshu Sekhar Nayak
*
@@ -19,16 +19,16 @@
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <semaphore.h>
#include <semaphore.h>
int test( void );
int test( void );
int test( void )
{
int test( void )
{
sem_t sem;
int pshared;
unsigned int value;
@@ -41,4 +41,4 @@
result = sem_wait( &sem );
return result;
}
}

View File

@@ -3,7 +3,7 @@
* @brief ulimit() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Jacob Shin
*

View File

@@ -3,7 +3,7 @@
* @brief utime() API Conformance Test
*/
/*
/*
* COPYRIGHT (c) 2018.
* Shashvat Jain
*