Deleted Added
full compact
roken-common.h (102644) roken-common.h (103423)
1/*
1/*
2 * Copyright (c) 1995 - 2001 Kungliga Tekniska H�gskolan
2 * Copyright (c) 1995 - 2002 Kungliga Tekniska H�gskolan
3 * (Royal Institute of Technology, Stockholm, Sweden).
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
3 * (Royal Institute of Technology, Stockholm, Sweden).
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 */
33
34/* $Id: roken-common.h,v 1.49 2002/08/20 11:55:04 joda Exp $ */
34/* $Id: roken-common.h,v 1.51 2002/09/09 13:41:12 joda Exp $ */
35
36#ifndef __ROKEN_COMMON_H__
37#define __ROKEN_COMMON_H__
38
39#ifdef __cplusplus
40#define ROKEN_CPP_START extern "C" {
41#define ROKEN_CPP_END }
42#else

--- 204 unchanged lines hidden (view full) ---

247#endif
248
249#ifndef HAVE___ATTRIBUTE__
250#define __attribute__(x)
251#endif
252
253ROKEN_CPP_START
254
35
36#ifndef __ROKEN_COMMON_H__
37#define __ROKEN_COMMON_H__
38
39#ifdef __cplusplus
40#define ROKEN_CPP_START extern "C" {
41#define ROKEN_CPP_END }
42#else

--- 204 unchanged lines hidden (view full) ---

247#endif
248
249#ifndef HAVE___ATTRIBUTE__
250#define __attribute__(x)
251#endif
252
253ROKEN_CPP_START
254
255#if IRIX != 4 /* fix for compiler bug */
255#ifndef IRIX4 /* fix for compiler bug */
256#ifdef RETSIGTYPE
257typedef RETSIGTYPE (*SigAction)(int);
258SigAction signal(int iSig, SigAction pAction); /* BSD compatible */
259#endif
260#endif
261
262int ROKEN_LIB_FUNCTION simple_execve(const char*, char*const[], char*const[]);
263int ROKEN_LIB_FUNCTION simple_execvp(const char*, char *const[]);

--- 75 unchanged lines hidden ---
256#ifdef RETSIGTYPE
257typedef RETSIGTYPE (*SigAction)(int);
258SigAction signal(int iSig, SigAction pAction); /* BSD compatible */
259#endif
260#endif
261
262int ROKEN_LIB_FUNCTION simple_execve(const char*, char*const[], char*const[]);
263int ROKEN_LIB_FUNCTION simple_execvp(const char*, char *const[]);

--- 75 unchanged lines hidden ---