diff options
| author | Ulrich Drepper | 1998-04-14 00:02:53 +0000 |
|---|---|---|
| committer | Ulrich Drepper | 1998-04-14 00:02:53 +0000 |
| commit | 06bd27fdf5fa529e58ce129e3d906d17b5dcda34 (patch) | |
| tree | b3b06998a92e40fccfede0d5c5bc23a0754192c6 | |
| parent | 4ad8bb205e89d91ca2703641bfc602499ac6678c (diff) | |
| download | emacs-06bd27fdf5fa529e58ce129e3d906d17b5dcda34.tar.gz emacs-06bd27fdf5fa529e58ce129e3d906d17b5dcda34.zip | |
automatically generated from GPLed version
| -rw-r--r-- | lib-src/getopt.c | 14 | ||||
| -rw-r--r-- | lib-src/getopt1.c | 9 | ||||
| -rw-r--r-- | src/mktime.c | 4 |
3 files changed, 14 insertions, 13 deletions
diff --git a/lib-src/getopt.c b/lib-src/getopt.c index fc87ce67d69..df61ee5cf7e 100644 --- a/lib-src/getopt.c +++ b/lib-src/getopt.c | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | /* Getopt for GNU. | 1 | /* Getopt for GNU. |
| 2 | NOTE: getopt is now part of the C library, so if you don't know what | 2 | NOTE: getopt is now part of the C library, so if you don't know what |
| 3 | "Keep this file name-space clean" means, talk to roland@gnu.ai.mit.edu | 3 | "Keep this file name-space clean" means, talk to drepper@gnu.org |
| 4 | before changing it! | 4 | before changing it! |
| 5 | 5 | ||
| 6 | Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97 | 6 | Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98 |
| 7 | Free Software Foundation, Inc. | 7 | Free Software Foundation, Inc. |
| 8 | 8 | ||
| 9 | NOTE: The canonical source of this file is maintained with the GNU C Library. | 9 | NOTE: The canonical source of this file is maintained with the GNU C Library. |
| @@ -34,7 +34,7 @@ | |||
| 34 | #include <config.h> | 34 | #include <config.h> |
| 35 | #endif | 35 | #endif |
| 36 | 36 | ||
| 37 | #if !defined (__STDC__) || !__STDC__ | 37 | #if !defined __STDC__ || !__STDC__ |
| 38 | /* This is a separate conditional since some stdc systems | 38 | /* This is a separate conditional since some stdc systems |
| 39 | reject `defined (const)'. */ | 39 | reject `defined (const)'. */ |
| 40 | #ifndef const | 40 | #ifndef const |
| @@ -53,7 +53,7 @@ | |||
| 53 | it is simpler to just do this in the source for each such file. */ | 53 | it is simpler to just do this in the source for each such file. */ |
| 54 | 54 | ||
| 55 | #define GETOPT_INTERFACE_VERSION 2 | 55 | #define GETOPT_INTERFACE_VERSION 2 |
| 56 | #if !defined (_LIBC) && defined (__GLIBC__) && __GLIBC__ >= 2 | 56 | #if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 |
| 57 | #include <gnu-versions.h> | 57 | #include <gnu-versions.h> |
| 58 | #if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION | 58 | #if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION |
| 59 | #define ELIDE_CODE | 59 | #define ELIDE_CODE |
| @@ -225,7 +225,7 @@ my_index (str, chr) | |||
| 225 | #ifdef __GNUC__ | 225 | #ifdef __GNUC__ |
| 226 | /* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. | 226 | /* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. |
| 227 | That was relevant to code that was here before. */ | 227 | That was relevant to code that was here before. */ |
| 228 | #if !defined (__STDC__) || !__STDC__ | 228 | #if !defined __STDC__ || !__STDC__ |
| 229 | /* gcc with -traditional declares the built-in strlen to return int, | 229 | /* gcc with -traditional declares the built-in strlen to return int, |
| 230 | and has done so at least since version 2.4.5. -- rms. */ | 230 | and has done so at least since version 2.4.5. -- rms. */ |
| 231 | extern int strlen (const char *); | 231 | extern int strlen (const char *); |
| @@ -292,7 +292,7 @@ text_set_element (__libc_subinit, store_args_and_env); | |||
| 292 | `first_nonopt' and `last_nonopt' are relocated so that they describe | 292 | `first_nonopt' and `last_nonopt' are relocated so that they describe |
| 293 | the new indices of the non-options in ARGV after they are moved. */ | 293 | the new indices of the non-options in ARGV after they are moved. */ |
| 294 | 294 | ||
| 295 | #if defined (__STDC__) && __STDC__ | 295 | #if defined __STDC__ && __STDC__ |
| 296 | static void exchange (char **); | 296 | static void exchange (char **); |
| 297 | #endif | 297 | #endif |
| 298 | 298 | ||
| @@ -378,7 +378,7 @@ exchange (argv) | |||
| 378 | 378 | ||
| 379 | /* Initialize the internal data when the first call is made. */ | 379 | /* Initialize the internal data when the first call is made. */ |
| 380 | 380 | ||
| 381 | #if defined (__STDC__) && __STDC__ | 381 | #if defined __STDC__ && __STDC__ |
| 382 | static const char *_getopt_initialize (int, char *const *, const char *); | 382 | static const char *_getopt_initialize (int, char *const *, const char *); |
| 383 | #endif | 383 | #endif |
| 384 | static const char * | 384 | static const char * |
diff --git a/lib-src/getopt1.c b/lib-src/getopt1.c index af8e6819657..ff257374c33 100644 --- a/lib-src/getopt1.c +++ b/lib-src/getopt1.c | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | /* getopt_long and getopt_long_only entry points for GNU getopt. | 1 | /* getopt_long and getopt_long_only entry points for GNU getopt. |
| 2 | Copyright (C) 1987,88,89,90,91,92,93,94,96,97 Free Software Foundation, Inc. | 2 | Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98 |
| 3 | Free Software Foundation, Inc. | ||
| 3 | 4 | ||
| 4 | NOTE: The canonical source of this file is maintained with the GNU C Library. | 5 | NOTE: The canonical source of this file is maintained with the GNU C Library. |
| 5 | Bugs can be reported to bug-glibc@prep.ai.mit.edu. | 6 | Bugs can be reported to bug-glibc@gnu.org. |
| 6 | 7 | ||
| 7 | This program is free software; you can redistribute it and/or modify it | 8 | This program is free software; you can redistribute it and/or modify it |
| 8 | under the terms of the GNU General Public License as published by the | 9 | under the terms of the GNU General Public License as published by the |
| @@ -25,7 +26,7 @@ | |||
| 25 | 26 | ||
| 26 | #include "getopt.h" | 27 | #include "getopt.h" |
| 27 | 28 | ||
| 28 | #if !defined (__STDC__) || !__STDC__ | 29 | #if !defined __STDC__ || !__STDC__ |
| 29 | /* This is a separate conditional since some stdc systems | 30 | /* This is a separate conditional since some stdc systems |
| 30 | reject `defined (const)'. */ | 31 | reject `defined (const)'. */ |
| 31 | #ifndef const | 32 | #ifndef const |
| @@ -44,7 +45,7 @@ | |||
| 44 | it is simpler to just do this in the source for each such file. */ | 45 | it is simpler to just do this in the source for each such file. */ |
| 45 | 46 | ||
| 46 | #define GETOPT_INTERFACE_VERSION 2 | 47 | #define GETOPT_INTERFACE_VERSION 2 |
| 47 | #if !defined (_LIBC) && defined (__GLIBC__) && __GLIBC__ >= 2 | 48 | #if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2 |
| 48 | #include <gnu-versions.h> | 49 | #include <gnu-versions.h> |
| 49 | #if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION | 50 | #if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION |
| 50 | #define ELIDE_CODE | 51 | #define ELIDE_CODE |
diff --git a/src/mktime.c b/src/mktime.c index b852951458e..de5b47ddeff 100644 --- a/src/mktime.c +++ b/src/mktime.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | Contributed by Paul Eggert (eggert@twinsun.com). | 2 | Contributed by Paul Eggert (eggert@twinsun.com). |
| 3 | 3 | ||
| 4 | NOTE: The canonical source of this file is maintained with the GNU C Library. | 4 | NOTE: The canonical source of this file is maintained with the GNU C Library. |
| 5 | Bugs can be reported to bug-glibc@prep.ai.mit.edu. | 5 | Bugs can be reported to bug-glibc@gnu.org. |
| 6 | 6 | ||
| 7 | This program is free software; you can redistribute it and/or modify it | 7 | This program is free software; you can redistribute it and/or modify it |
| 8 | under the terms of the GNU General Public License as published by the | 8 | under the terms of the GNU General Public License as published by the |
| @@ -79,7 +79,7 @@ | |||
| 79 | It is necessary at least when t == time_t. */ | 79 | It is necessary at least when t == time_t. */ |
| 80 | #define TYPE_MINIMUM(t) ((t) (TYPE_SIGNED (t) \ | 80 | #define TYPE_MINIMUM(t) ((t) (TYPE_SIGNED (t) \ |
| 81 | ? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0)) | 81 | ? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0)) |
| 82 | #define TYPE_MAXIMUM(t) (~ (t) 0 - TYPE_MINIMUM (t)) | 82 | #define TYPE_MAXIMUM(t) ((t) (~ (t) 0 - TYPE_MINIMUM (t))) |
| 83 | 83 | ||
| 84 | #ifndef INT_MIN | 84 | #ifndef INT_MIN |
| 85 | # define INT_MIN TYPE_MINIMUM (int) | 85 | # define INT_MIN TYPE_MINIMUM (int) |