aboutsummaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-23 17:22:17 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-23 17:22:17 +0000
commitc19559b0bcec2afce4952ea4bbc8724a7a99bd6a (patch)
treedbd7c1ce22f2e3267841d3f7a41745d6edbff5d5 /include/sys
parent4d8d74583abec02470a87ac1481f7dc3b2fa33b5 (diff)
downloadglibc-c19559b0bcec2afce4952ea4bbc8724a7a99bd6a.zip
glibc-c19559b0bcec2afce4952ea4bbc8724a7a99bd6a.tar.gz
glibc-c19559b0bcec2afce4952ea4bbc8724a7a99bd6a.tar.bz2
Update.
* include/aio.h: Remove __THROW from internal interfaces. __THROW is only need in external header files that might be compiled by a C++ compiler. * include/alloca.h: Likewise. * include/db.h: Likewise. * include/dirent.h: Likewise. * include/execinfo.h: Likewise. * include/fpu_control.h: Likewise. * include/glob.h: Likewise. * include/grp.h: Likewise. * include/libintl.h: Likewise. * include/math.h: Likewise. * include/math.h: Likewise. * include/mntent.h: Likewise. * include/mntent.h: Likewise. * include/netdb.h: Likewise. * include/pwd.h: Likewise. * include/sched.h: Likewise. * include/shadow.h: Likewise. * include/stdlib.h: Likewise. * include/sys/file.h: Likewise. * include/sys/gmon.h: Likewise. * include/sys/ioctl.h: Likewise. * include/sys/socket.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/sysinfo.h: Likewise. * include/sys/time.h: Likewise. * include/sys/times.h: Likewise. * include/sys/uio.h: Likewise. * include/sys/wait.h: Likewise. * include/termios.h: Likewise. * include/time.h: Likewise. * include/ulimit.h: Likewise. * include/utmp.h: Likewise. * include/wchar.h: Likewise. 1999-11-22 Andreas Jaeger <aj@suse.de> * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output. Patch by Jerry Perkins <jrperkins@iname.com>, closes PR libc/1456+1457. 1999-11-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/siglist.h: Avoid declaring the same field twice if SIGPWR is defined to SIGLOST. * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument, not signed, so we should not special case it for negative args. * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic memmove, use the one provided in memcpy.S. * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping copies like memmove, while the previous version worked like memcpy. Implement optimized assembly memmove. * sysdeps/sparc/sparc64/memmove.c: New file. 1999-11-23 Ulrich Drepper <drepper@cygnus.com> * po/cs.po: Update from translators. 1999-11-23 Andreas Jaeger <aj@suse.de>
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/file.h2
-rw-r--r--include/sys/gmon.h4
-rw-r--r--include/sys/ioctl.h2
-rw-r--r--include/sys/socket.h2
-rw-r--r--include/sys/stat.h16
-rw-r--r--include/sys/sysinfo.h8
-rw-r--r--include/sys/time.h12
-rw-r--r--include/sys/times.h2
-rw-r--r--include/sys/uio.h4
-rw-r--r--include/sys/wait.h6
10 files changed, 29 insertions, 29 deletions
diff --git a/include/sys/file.h b/include/sys/file.h
index 3dac129..e73a4d1 100644
--- a/include/sys/file.h
+++ b/include/sys/file.h
@@ -2,5 +2,5 @@
#include <misc/sys/file.h>
/* Now define the internal interfaces. */
-extern int __flock (int __fd, int __operation) __THROW;
+extern int __flock (int __fd, int __operation);
#endif
diff --git a/include/sys/gmon.h b/include/sys/gmon.h
index 5767759..c95cb3c 100644
--- a/include/sys/gmon.h
+++ b/include/sys/gmon.h
@@ -4,6 +4,6 @@
/* Now define the internal interfaces. */
/* Write current profiling data to file. */
-extern void __write_profiling (void) __THROW;
-extern void write_profiling (void) __THROW;
+extern void __write_profiling (void);
+extern void write_profiling (void);
#endif
diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h
index bc1e6d6..ebadd52 100644
--- a/include/sys/ioctl.h
+++ b/include/sys/ioctl.h
@@ -2,5 +2,5 @@
#include <misc/sys/ioctl.h>
/* Now define the internal interfaces. */
-extern int __ioctl (int __fd, unsigned long int __request, ...) __THROW;
+extern int __ioctl (int __fd, unsigned long int __request, ...);
#endif
diff --git a/include/sys/socket.h b/include/sys/socket.h
index dadd866..2e91fb3 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -2,7 +2,7 @@
#include <socket/sys/socket.h>
/* Now define the internal interfaces. */
-extern int __socket (int __domain, int __type, int __protocol) __THROW;
+extern int __socket (int __domain, int __type, int __protocol);
/* Return a socket of any type. The socket can be used in subsequent
ioctl calls to talk to the kernel. */
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 09e3964..db0bd8f 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -2,15 +2,15 @@
#include <io/sys/stat.h>
/* Now define the internal interfaces. */
-extern int __stat (__const char *__file, struct stat *__buf) __THROW;
-extern int __fstat (int __fd, struct stat *__buf) __THROW;
-extern int __lstat (__const char *__file, struct stat *__buf) __THROW;
-extern int __chmod (__const char *__file, __mode_t __mode) __THROW;
-extern int __fchmod (int __fd, __mode_t __mode) __THROW;
-extern __mode_t __umask (__mode_t __mask) __THROW;
-extern int __mkdir (__const char *__path, __mode_t __mode) __THROW;
+extern int __stat (__const char *__file, struct stat *__buf);
+extern int __fstat (int __fd, struct stat *__buf);
+extern int __lstat (__const char *__file, struct stat *__buf);
+extern int __chmod (__const char *__file, __mode_t __mode);
+extern int __fchmod (int __fd, __mode_t __mode);
+extern __mode_t __umask (__mode_t __mask);
+extern int __mkdir (__const char *__path, __mode_t __mode);
extern int __mknod (__const char *__path,
- __mode_t __mode, __dev_t __dev) __THROW;
+ __mode_t __mode, __dev_t __dev);
extern __inline__ int __stat (__const char *__path, struct stat *__statbuf)
{
return __xstat (_STAT_VER, __path, __statbuf);
diff --git a/include/sys/sysinfo.h b/include/sys/sysinfo.h
index c06c3ab..69e9045 100644
--- a/include/sys/sysinfo.h
+++ b/include/sys/sysinfo.h
@@ -4,15 +4,15 @@
/* Now we define the internal interface. */
/* Return number of configured processors. */
-extern int __get_nprocs_conf (void) __THROW;
+extern int __get_nprocs_conf (void);
/* Return number of available processors. */
-extern int __get_nprocs (void) __THROW;
+extern int __get_nprocs (void);
/* Return number of physical pages of memory in the system. */
-extern int __get_phys_pages (void) __THROW;
+extern int __get_phys_pages (void);
/* Return number of available physical pages of memory in the system. */
-extern int __get_avphys_pages (void) __THROW;
+extern int __get_avphys_pages (void);
#endif /* sys/sysinfo.h */
diff --git a/include/sys/time.h b/include/sys/time.h
index a281420..1f24827 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -3,15 +3,15 @@
/* Now document the internal interfaces. */
extern int __gettimeofday (struct timeval *__tv,
- struct timezone *__tz) __THROW;
+ struct timezone *__tz);
extern int __settimeofday (__const struct timeval *__tv,
- __const struct timezone *__tz) __THROW;
+ __const struct timezone *__tz);
extern int __adjtime (__const struct timeval *__delta,
- struct timeval *__olddelta) __THROW;
+ struct timeval *__olddelta);
extern int __getitimer (enum __itimer_which __which,
- struct itimerval *__value) __THROW;
+ struct itimerval *__value);
extern int __setitimer (enum __itimer_which __which,
__const struct itimerval *__new,
- struct itimerval *__old) __THROW;
-extern int __utimes (__const char *__file, struct timeval __tvp[2]) __THROW;
+ struct itimerval *__old);
+extern int __utimes (__const char *__file, struct timeval __tvp[2]);
#endif
diff --git a/include/sys/times.h b/include/sys/times.h
index 24f9fda..6ad39fb 100644
--- a/include/sys/times.h
+++ b/include/sys/times.h
@@ -2,5 +2,5 @@
#include <posix/sys/times.h>
/* Now define the internal interfaces. */
-extern clock_t __times (struct tms *__buffer) __THROW;
+extern clock_t __times (struct tms *__buffer);
#endif
diff --git a/include/sys/uio.h b/include/sys/uio.h
index 94ed4af..09bdce2 100644
--- a/include/sys/uio.h
+++ b/include/sys/uio.h
@@ -3,7 +3,7 @@
/* Now define the internal interfaces. */
extern ssize_t __readv (int __fd, __const struct iovec *__vector,
- int __count) __THROW;
+ int __count);
extern ssize_t __writev (int __fd, __const struct iovec *__vector,
- int __count) __THROW;
+ int __count);
#endif
diff --git a/include/sys/wait.h b/include/sys/wait.h
index 4b41bc8..9244c30 100644
--- a/include/sys/wait.h
+++ b/include/sys/wait.h
@@ -3,9 +3,9 @@
/* Now define the internal interfaces. */
extern __pid_t __waitpid (__pid_t __pid, int *__stat_loc,
- int __options) __THROW;
+ int __options);
extern __pid_t __wait3 (__WAIT_STATUS __stat_loc,
- int __options, struct rusage * __usage) __THROW;
+ int __options, struct rusage * __usage);
extern __pid_t __wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc,
- int __options, struct rusage *__usage) __THROW;
+ int __options, struct rusage *__usage);
#endif