about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1998-05-21 01:18:56 +0000
committerRichard Henderson <rth@redhat.com>1998-05-21 01:18:56 +0000
commitc9a673763639234fc03360fa93a55b946abe6489 (patch)
treeaf0088bfe824c368cec4ea17d9ac51c52b850908 /sysdeps
parentaedc5bfc795f6b23ad08f2ec86e3430491c16411 (diff)
downloadglibc-c9a673763639234fc03360fa93a55b946abe6489.tar.gz
glibc-c9a673763639234fc03360fa93a55b946abe6489.tar.xz
glibc-c9a673763639234fc03360fa93a55b946abe6489.zip
* sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c directly instead of include_next. Add missing semicolons. * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h. Add missing semicolons.
1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>

	* sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
	directly instead of include_next.  Add missing semicolons.
	* sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
	Add missing semicolons.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/glob.c8
-rw-r--r--sysdeps/unix/sysv/linux/alpha/oldglob.c5
2 files changed, 7 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/glob.c b/sysdeps/unix/sysv/linux/alpha/glob.c
index 7bd516191d..59c42ae5fc 100644
--- a/sysdeps/unix/sysv/linux/alpha/glob.c
+++ b/sysdeps/unix/sysv/linux/alpha/glob.c
@@ -17,14 +17,14 @@
 
 /* For Linux/Alpha we have to make the glob symbols versioned.  */
 #define glob(pattern, flags, errfunc, pglob) \
-  __new_glob (pattern, flags, errfunc, pglob) \
+  __new_glob (pattern, flags, errfunc, pglob)
 #define globfree(pglob) \
   __new_globfree (pglob)
 
-#include_next <glob.c>
+#include <sysdeps/generic/glob.c>
 
 #undef glob
 #undef globfree
 
-default_symbol_version(__new_glob, glob, GLIBC_2.1)
-default_symbol_version(__new_globfree, globfree, GLIBC_2.1)
+default_symbol_version(__new_glob, glob, GLIBC_2.1);
+default_symbol_version(__new_globfree, globfree, GLIBC_2.1);
diff --git a/sysdeps/unix/sysv/linux/alpha/oldglob.c b/sysdeps/unix/sysv/linux/alpha/oldglob.c
index 97284ab3e9..f405fbf2bc 100644
--- a/sysdeps/unix/sysv/linux/alpha/oldglob.c
+++ b/sysdeps/unix/sysv/linux/alpha/oldglob.c
@@ -17,6 +17,7 @@
 
 /* This file contains only wrappers around the real glob functions.  It
    became necessary since the glob_t structure changed.  */
+#include <sys/types.h>
 #include <glob.h>
 
 #if defined PIC && DO_VERSIONING
@@ -74,7 +75,7 @@ __old_glob (const char *pattern, int flags,
 
   return result;
 }
-symbol_version(__old_glob, glob, GLIBC_2.0)
+symbol_version(__old_glob, glob, GLIBC_2.0);
 
 
 /* Free storage allocated in PGLOB by a previous `glob' call.  */
@@ -89,6 +90,6 @@ __old_globfree (old_glob_t *pglob)
 
   globfree (&correct);
 }
-symbol_version(__old_globfree, globfree, GLIBC_2.0)
+symbol_version(__old_globfree, globfree, GLIBC_2.0);
 
 #endif