aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-29 22:04:20 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-29 22:04:20 +0000
commited099f029e8b8b61a48329586fc00035af7f2287 (patch)
tree73473725e07a1990b98f7affbc8efa0a6b7a7f73 /sysdeps
parent41a5a38276bfe459677d68e976e5fb669b3653c2 (diff)
downloadglibc-ed099f029e8b8b61a48329586fc00035af7f2287.zip
glibc-ed099f029e8b8b61a48329586fc00035af7f2287.tar.gz
glibc-ed099f029e8b8b61a48329586fc00035af7f2287.tar.bz2
Update.
Use nscd_ssize_t where appropriate. * nscd/nscd_gethst_r.c (nscd_gethst_r): Use nscd_ssize_t instead of ssize_t where appropriate. * sysdeps/generic/nscd-types.h: New file. * sysdeps/alpha/nscd-types.h: New file.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/alpha/nscd-types.h22
-rw-r--r--sysdeps/generic/nscd-types.h22
2 files changed, 44 insertions, 0 deletions
diff --git a/sysdeps/alpha/nscd-types.h b/sysdeps/alpha/nscd-types.h
new file mode 100644
index 0000000..9096081
--- /dev/null
+++ b/sysdeps/alpha/nscd-types.h
@@ -0,0 +1,22 @@
+/* Types for the NSCD implementation. Alpha version.
+ Copyright (c) 2000 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#include <stdint.h>
+
+typedef int64_t nscd_ssize_t;
diff --git a/sysdeps/generic/nscd-types.h b/sysdeps/generic/nscd-types.h
new file mode 100644
index 0000000..2c7a553
--- /dev/null
+++ b/sysdeps/generic/nscd-types.h
@@ -0,0 +1,22 @@
+/* Types for the NSCD implementation. Generic version.
+ Copyright (c) 2000 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#include <stdint.h>
+
+typedef int32_t nscd_ssize_t;