diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libc/stdlib/labs.c (renamed from src/lib/libssl/src/crypto/LPdir_nyi.c) | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/src/lib/libssl/src/crypto/LPdir_nyi.c b/src/lib/libc/stdlib/labs.c index 6c1a50e6a8..ca60b9aba2 100644 --- a/src/lib/libssl/src/crypto/LPdir_nyi.c +++ b/src/lib/libc/stdlib/labs.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* $LP: LPlib/source/LPdir_win.c,v 1.1 2004/06/14 10:07:56 _cvs_levitte Exp $ */ | 1 | /* $OpenBSD: labs.c,v 1.5 2005/08/08 08:05:36 espie Exp $ */ |
2 | /* | 2 | /*- |
3 | * Copyright (c) 2004, Richard Levitte <richard@levitte.org> | 3 | * Copyright (c) 1990 The Regents of the University of California. |
4 | * All rights reserved. | 4 | * All rights reserved. |
5 | * | 5 | * |
6 | * Redistribution and use in source and binary forms, with or without | 6 | * Redistribution and use in source and binary forms, with or without |
@@ -11,6 +11,9 @@ | |||
11 | * 2. Redistributions in binary form must reproduce the above copyright | 11 | * 2. Redistributions in binary form must reproduce the above copyright |
12 | * notice, this list of conditions and the following disclaimer in the | 12 | * notice, this list of conditions and the following disclaimer in the |
13 | * documentation and/or other materials provided with the distribution. | 13 | * documentation and/or other materials provided with the distribution. |
14 | * 3. Neither the name of the University nor the names of its contributors | ||
15 | * may be used to endorse or promote products derived from this software | ||
16 | * without specific prior written permission. | ||
14 | * | 17 | * |
15 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | 18 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND |
16 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 19 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
@@ -25,18 +28,10 @@ | |||
25 | * SUCH DAMAGE. | 28 | * SUCH DAMAGE. |
26 | */ | 29 | */ |
27 | 30 | ||
28 | #ifndef LPDIR_H | 31 | #include <stdlib.h> |
29 | #include "LPdir.h" | ||
30 | #endif | ||
31 | 32 | ||
32 | struct LP_dir_context_st { void *dummy; }; | 33 | long |
33 | const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) | 34 | labs(long j) |
34 | { | 35 | { |
35 | errno = EINVAL; | 36 | return(j < 0 ? -j : j); |
36 | return 0; | 37 | } |
37 | } | ||
38 | int LP_find_file_end(LP_DIR_CTX **ctx) | ||
39 | { | ||
40 | errno = EINVAL; | ||
41 | return 0; | ||
42 | } | ||