summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-14 00:02:53 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-14 00:02:53 +0000
commitf1996eccdd07f6dc6cf710edabd2a9f3976b86f2 (patch)
treee10e73f139a0723fa403831e1bd2d675fc24306b
parent90fb72ecef359de97d84cb280277783728bba6e7 (diff)
downloademacs-f1996eccdd07f6dc6cf710edabd2a9f3976b86f2.tar.gz
automatically generated from GPLed version
-rw-r--r--lib-src/getopt1.c7
-rw-r--r--src/mktime.c2
2 files changed, 5 insertions, 4 deletions
diff --git a/lib-src/getopt1.c b/lib-src/getopt1.c
index af8e6819657..4ce10655d2a 100644
--- a/lib-src/getopt1.c
+++ b/lib-src/getopt1.c
@@ -1,5 +1,6 @@
/* getopt_long and getopt_long_only entry points for GNU getopt.
- Copyright (C) 1987,88,89,90,91,92,93,94,96,97 Free Software Foundation, Inc.
+ Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
+ Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to bug-glibc@prep.ai.mit.edu.
@@ -25,7 +26,7 @@
#include "getopt.h"
-#if !defined (__STDC__) || !__STDC__
+#if !defined __STDC__ || !__STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#ifndef const
@@ -44,7 +45,7 @@
it is simpler to just do this in the source for each such file. */
#define GETOPT_INTERFACE_VERSION 2
-#if !defined (_LIBC) && defined (__GLIBC__) && __GLIBC__ >= 2
+#if !defined _LIBC && defined __GLIBC__ && __GLIBC__ >= 2
#include <gnu-versions.h>
#if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION
#define ELIDE_CODE
diff --git a/src/mktime.c b/src/mktime.c
index b852951458e..582798a7e8e 100644
--- a/src/mktime.c
+++ b/src/mktime.c
@@ -79,7 +79,7 @@
It is necessary at least when t == time_t. */
#define TYPE_MINIMUM(t) ((t) (TYPE_SIGNED (t) \
? ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1) : (t) 0))
-#define TYPE_MAXIMUM(t) (~ (t) 0 - TYPE_MINIMUM (t))
+#define TYPE_MAXIMUM(t) ((t) (~ (t) 0 - TYPE_MINIMUM (t)))
#ifndef INT_MIN
# define INT_MIN TYPE_MINIMUM (int)