Browse Source

#if __STDC__ --> #ifdef __STDC__

OPENBSD_2_2
mickey 27 years ago
parent
commit
0cfd69661e
3 changed files with 6 additions and 6 deletions
  1. +2
    -2
      src/lib/libc/crypt/bcrypt.c
  2. +2
    -2
      src/lib/libc/crypt/blowfish.c
  3. +2
    -2
      src/lib/libc/string/strftime.c

+ 2
- 2
src/lib/libc/crypt/bcrypt.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: bcrypt.c,v 1.8 1997/07/23 20:58:26 kstailey Exp $ */
/* $OpenBSD: bcrypt.c,v 1.9 1997/07/25 20:29:59 mickey Exp $ */
/*
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@ -97,7 +97,7 @@ const static u_int8_t index_64[128] =
};
#define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)])
#if __STDC__
#ifdef __STDC__
static void
decode_base64(u_int8_t *buffer, u_int16_t len, u_int8_t *data)
#else


+ 2
- 2
src/lib/libc/crypt/blowfish.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: blowfish.c,v 1.5 1997/07/23 20:58:27 kstailey Exp $ */
/* $OpenBSD: blowfish.c,v 1.6 1997/07/25 20:30:00 mickey Exp $ */
/*
* Blowfish block cipher for OpenBSD
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@ -441,7 +441,7 @@ Blowfish_initstate(c)
}
#if __STDC__
#ifdef __STDC__
u_int32_t
Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, u_int16_t *current)
#else


+ 2
- 2
src/lib/libc/string/strftime.c View File

@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$OpenBSD: strftime.c,v 1.7 1996/10/28 16:53:28 tholo Exp $";
static char *rcsid = "$OpenBSD: strftime.c,v 1.8 1997/07/25 20:30:14 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/localedef.h>
@ -296,7 +296,7 @@ _secs(t)
}
static int
#if __STDC__
#ifdef __STDC__
_conv(int n, int digits, char pad)
#else
_conv(n, digits, pad)


Loading…
Cancel
Save