Upstream-Status: Inappropriate [configuration] Subject: [PATCH 3/5] Use gsm_config. header instead of config.h Organization: O.S. Systems Software LTDA. Signed-off-by: Fabio Berton --- Makefile | 2 +- inc/config.h | 37 ------------------------------------- inc/gsm_config.h | 37 +++++++++++++++++++++++++++++++++++++ inc/toast.h | 2 +- src/code.c | 2 +- src/gsm_create.c | 2 +- src/gsm_destroy.c | 2 +- tls/taste.c | 2 +- 8 files changed, 43 insertions(+), 43 deletions(-) delete mode 100644 inc/config.h create mode 100644 inc/gsm_config.h diff --git a/Makefile b/Makefile index 410d3f6..c8c5b58 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,7 @@ GSM_HEADERS = $(INC)/gsm.h HEADERS = $(INC)/proto.h \ $(INC)/unproto.h \ - $(INC)/config.h \ + $(INC)/gsm_config.h \ $(INC)/private.h \ $(INC)/gsm.h \ $(INC)/toast.h \ diff --git a/inc/config.h b/inc/config.h deleted file mode 100644 index dfb1ead..0000000 --- a/inc/config.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische - * Universitaet Berlin. See the accompanying file "COPYRIGHT" for - * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. - */ - -/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/config.h,v 1.5 1996/07/02 11:26:20 jutta Exp $*/ - -#ifndef CONFIG_H -#define CONFIG_H - -/*efine SIGHANDLER_T int /* signal handlers are void */ -/*efine HAS_SYSV_SIGNAL 1 /* sigs not blocked/reset? */ - -#define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */ -#define HAS_LIMITS_H 1 /* /usr/include/limits.h */ -#define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */ -#define HAS_ERRNO_DECL 1 /* errno.h declares errno */ - -#define HAS_FSTAT 1 /* fstat syscall */ -#define HAS_FCHMOD 1 /* fchmod syscall */ -#define HAS_CHMOD 1 /* chmod syscall */ -#define HAS_FCHOWN 1 /* fchown syscall */ -#define HAS_CHOWN 1 /* chown syscall */ -/*efine HAS__FSETMODE 1 /* _fsetmode -- set file mode */ - -#define HAS_STRING_H 1 /* /usr/include/string.h */ -/*efine HAS_STRINGS_H 1 /* /usr/include/strings.h */ - -#define HAS_UNISTD_H 1 /* /usr/include/unistd.h */ -#define HAS_UTIME 1 /* POSIX utime(path, times) */ -/*efine HAS_UTIMES 1 /* use utimes() syscall instead */ -#define HAS_UTIME_H 1 /* UTIME header file */ -#define HAS_UTIMBUF 1 /* struct utimbuf */ -/*efine HAS_UTIMEUSEC 1 /* microseconds in utimbuf? */ - -#endif /* CONFIG_H */ diff --git a/inc/gsm_config.h b/inc/gsm_config.h new file mode 100644 index 0000000..28cee6d --- /dev/null +++ b/inc/gsm_config.h @@ -0,0 +1,37 @@ +/* + * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische + * Universitaet Berlin. See the accompanying file "COPYRIGHT" for + * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. + */ + +/*$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/config.h,v 1.5 1996/07/02 11:26:20 jutta Exp $*/ + +#ifndef CONFIG_H +#define CONFIG_H + +/*efine SIGHANDLER_T int -* signal handlers are void */ +/*efine HAS_SYSV_SIGNAL 1 -* sigs not blocked/reset? */ + +#define HAS_STDLIB_H 1 /* /usr/include/stdlib.h */ +#define HAS_STDIO_H 1 /* /usr/include/stdio.h */ +/*efine HAS_LIMITS_H 1 -* /usr/include/limits.h */ +#define HAS_FCNTL_H 1 /* /usr/include/fcntl.h */ + +#define HAS_FSTAT 1 /* fstat syscall */ +#define HAS_FCHMOD 1 /* fchmod syscall */ +#define HAS_CHMOD 1 /* chmod syscall */ +#define HAS_FCHOWN 1 /* fchown syscall */ +#define HAS_CHOWN 1 /* chown syscall */ +/*efine HAS__FSETMODE 1 -* _fsetmode -- set file mode */ + +#define HAS_STRING_H 1 /* /usr/include/string.h */ +/*efine HAS_STRINGS_H 1 -* /usr/include/strings.h */ + +#define HAS_UNISTD_H 1 /* /usr/include/unistd.h */ +#define HAS_UTIME 1 /* POSIX utime(path, times) */ +/*efine HAS_UTIMES 1 -* use utimes() syscall instead */ +#define HAS_UTIME_H 1 /* UTIME header file */ +/*efine HAS_UTIMBUF 1 -* struct utimbuf */ +/*efine HAS_UTIMEUSEC 1 -* microseconds in utimbuf? */ + +#endif /* CONFIG_H */ diff --git a/inc/toast.h b/inc/toast.h index b42d9ae..911769d 100644 --- a/inc/toast.h +++ b/inc/toast.h @@ -9,7 +9,7 @@ #ifndef TOAST_H #define TOAST_H /* Guard against multiple includes */ -#include "config.h" +#include "gsm_config.h" #include #include diff --git a/src/code.c b/src/code.c index 402f614..5222727 100644 --- a/src/code.c +++ b/src/code.c @@ -6,7 +6,7 @@ /* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/code.c,v 1.3 1996/07/02 09:59:05 jutta Exp $ */ -#include "config.h" +#include "gsm_config.h" #ifdef HAS_STRING_H diff --git a/src/gsm_create.c b/src/gsm_create.c index a0bf634..9cc2670 100644 --- a/src/gsm_create.c +++ b/src/gsm_create.c @@ -6,7 +6,7 @@ static char const ident[] = "$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_create.c,v 1.4 1996/07/02 09:59:05 jutta Exp $"; -#include "config.h" +#include "gsm_config.h" #ifdef HAS_STRING_H #include diff --git a/src/gsm_destroy.c b/src/gsm_destroy.c index 03c8659..274dc4c 100644 --- a/src/gsm_destroy.c +++ b/src/gsm_destroy.c @@ -7,7 +7,7 @@ /* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_destroy.c,v 1.3 1994/11/28 19:52:25 jutta Exp $ */ #include "gsm.h" -#include "config.h" +#include "gsm_config.h" #include "proto.h" #ifdef HAS_STDLIB_H diff --git a/tls/taste.c b/tls/taste.c index 4bc84ad..56d1a93 100644 --- a/tls/taste.c +++ b/tls/taste.c @@ -10,7 +10,7 @@ #include #include -#include "config.h" +#include "gsm_config.h" #ifdef HAS_STDLIB_H # include -- 2.1.4