aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-14 02:10:26 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-14 02:10:26 +0000
commit8de72f531eb4d63481115e91d144731c5326bc79 (patch)
treeca8d970b17904478a9a31b3e59c5376313621299 /posix
parent7e3399b393acab468d6ea8b13f6a187db6c8de24 (diff)
downloadglibc-8de72f531eb4d63481115e91d144731c5326bc79.tar
glibc-8de72f531eb4d63481115e91d144731c5326bc79.tar.gz
glibc-8de72f531eb4d63481115e91d144731c5326bc79.tar.bz2
glibc-8de72f531eb4d63481115e91d144731c5326bc79.zip
Update.
* posix/unistd.h: Remove setkey, rename, and cuserid prototypes as they are not anymore required here.
Diffstat (limited to 'posix')
-rw-r--r--posix/unistd.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 1bae274981..0df0e93e08 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -952,9 +952,6 @@ extern int fdatasync (int __fildes) __THROW;
/* Encrypt at most 8 characters from KEY using salt to perturb DES. */
extern char *crypt (__const char *__key, __const char *__salt) __THROW;
-/* Setup DES tables according KEY. */
-extern void setkey (__const char *__key) __THROW;
-
/* Encrypt data in BLOCK in place if EDFLAG is zero; otherwise decrypt
block in place. */
extern void encrypt (char *__block, int __edflag) __THROW;
@@ -968,18 +965,11 @@ extern void swab (__const void *__from, void *__to, ssize_t __n) __THROW;
#endif
-/* The Single Unix specification, version 2, demands these prototypes
- to be here. They are also found in <stdio.h>. */
+/* The Single Unix specification demands this prototype to be here.
+ It is also found in <stdio.h>. */
#ifdef __USE_XOPEN
/* Return the name of the controlling terminal. */
extern char *ctermid (char *__s) __THROW;
-
-/* Return the name of the current user. This function should not be
- used and might go away some time. */
-extern char *cuserid (char *__s) __THROW;
-
-/* Rename file OLD to NEW. */
-extern int rename (__const char *__old, __const char *__new) __THROW;
#endif