OSDN Git Service

ldso/mips: Remove redundant LD_DEBUG prints
[uclinux-h8/uClibc.git] / libcrypt / crypt_stub.c
1 /* vi: set sw=4 ts=4: */
2 /*
3  * crypt() for uClibc
4  * Copyright (C) 2008 by Erik Andersen <andersen@uclibc.org>
5  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6  */
7
8 #include <crypt.h>
9 #include <unistd.h>
10 #include "libcrypt.h"
11 #include <syscall.h>
12
13 char *crypt(const char *key attribute_unused, const char *salt attribute_unused)
14 {
15         __set_errno(ENOSYS);
16         return NULL;
17 }
18
19 void
20 setkey(const char *key attribute_unused)
21 {
22         __set_errno(ENOSYS);
23 }
24
25 void
26 encrypt(char *block attribute_unused, int flag attribute_unused)
27 {
28         __set_errno(ENOSYS);
29 }