summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sparc64
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /libexec/ld.so/sparc64
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'libexec/ld.so/sparc64')
-rw-r--r--libexec/ld.so/sparc64/archdep.h4
-rw-r--r--libexec/ld.so/sparc64/syscall.h28
2 files changed, 16 insertions, 16 deletions
diff --git a/libexec/ld.so/sparc64/archdep.h b/libexec/ld.so/sparc64/archdep.h
index 3ddd8b3c92c..cd2ea9b3abe 100644
--- a/libexec/ld.so/sparc64/archdep.h
+++ b/libexec/ld.so/sparc64/archdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: archdep.h,v 1.4 2001/09/25 06:57:03 art Exp $ */
+/* $OpenBSD: archdep.h,v 1.5 2002/02/16 21:27:30 millert Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -47,7 +47,7 @@
#include <machine/reloc.h>
#include <sys/syscall.h>
-int _dl_write __P((int, const char *, int));
+int _dl_write(int, const char *, int);
/*
* The following functions are declared inline so they can
diff --git a/libexec/ld.so/sparc64/syscall.h b/libexec/ld.so/sparc64/syscall.h
index 52d6f7a85b3..9233615d393 100644
--- a/libexec/ld.so/sparc64/syscall.h
+++ b/libexec/ld.so/sparc64/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.2 2001/09/25 06:57:03 art Exp $ */
+/* $OpenBSD: syscall.h,v 1.3 2002/02/16 21:27:30 millert Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -42,22 +42,22 @@
#define _dl_check_error(__res) \
((int) __res < 0 && (int) __res >= -_dl_MAX_ERRNO)
-int _dl_close __P((int));
-int _dl_exit __P((int));
-int _dl_getegid __P((void));
-int _dl_geteuid __P((void));
-int _dl_getgid __P((void));
-int _dl_getuid __P((void));
+int _dl_close(int);
+int _dl_exit(int);
+int _dl_getegid(void);
+int _dl_geteuid(void);
+int _dl_getgid(void);
+int _dl_getuid(void);
long _dl___syscall(quad_t, ...);
-int _dl_mprotect __P((const void *, int, int));
-int _dl_munmap __P((const void*, unsigned int));
-int _dl_open __P((const char*, unsigned int));
-void _dl_printf __P((const char *, ...));
-int _dl_read __P((int, const char*, int));
+int _dl_mprotect(const void *, int, int);
+int _dl_munmap(const void*, unsigned int);
+int _dl_open(const char*, unsigned int);
+void _dl_printf(const char *, ...);
+int _dl_read(int, const char*, int);
#ifdef USE_CACHE
-int _dl_stat __P((const char *, struct stat *));
+int _dl_stat(const char *, struct stat *);
#endif
-int _dl_write __P((int, const char*, int));
+int _dl_write(int, const char*, int);
/*
* Not an actual syscall, but we need something in assembly to say