Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ofw Don't use argument names in function declarations.
details: https://anonhg.NetBSD.org/src/rev/2af5a3cdaae2
branches: trunk
changeset: 511405:2af5a3cdaae2
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Jun 19 08:24:07 2001 +0000
description:
Don't use argument names in function declarations.
diffstat:
sys/dev/ofw/openfirm.h | 57 ++++++++++++++++++++++++-------------------------
1 files changed, 28 insertions(+), 29 deletions(-)
diffs (73 lines):
diff -r cad7cee581f1 -r 2af5a3cdaae2 sys/dev/ofw/openfirm.h
--- a/sys/dev/ofw/openfirm.h Tue Jun 19 07:49:14 2001 +0000
+++ b/sys/dev/ofw/openfirm.h Tue Jun 19 08:24:07 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: openfirm.h,v 1.16 2001/06/10 11:36:03 tsubai Exp $ */
+/* $NetBSD: openfirm.h,v 1.17 2001/06/19 08:24:07 simonb Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -76,36 +76,35 @@
*/
extern char *OF_buf;
-int OF_peer (int phandle);
-int OF_child (int phandle);
-int OF_parent (int phandle);
-int OF_instance_to_package (int ihandle);
-int OF_getproplen (int handle, char *prop);
-int OF_getprop (int handle, char *prop, void *buf, int buflen);
-int OF_nextprop (int handle, char *prop, void *nextprop);
-int OF_setprop (int handle, char *prop, const void *buf, int buflen);
-int OF_finddevice (char *name);
-int OF_instance_to_path (int ihandle, char *buf, int buflen);
-int OF_package_to_path (int phandle, char *buf, int buflen);
-int OF_call_method_1 (char *method, int ihandle, int nargs, ...);
-int OF_call_method (char *method, int ihandle, int nargs,
- int nreturns, ...);
-int OF_open (char *dname);
-void OF_close (int handle);
-int OF_read (int handle, void *addr, int len);
-int OF_write (int handle, void *addr, int len);
-int OF_seek (int handle, u_quad_t pos);
-void OF_boot (char *bootspec) __attribute__((__noreturn__));
-void OF_enter (void);
-void OF_exit (void) __attribute__((__noreturn__));
-void (*OF_set_callback (void (*newfunc)(void *))) (void *);
-int openfirmware (void *);
+int OF_peer(int);
+int OF_child(int);
+int OF_parent(int);
+int OF_instance_to_package(int);
+int OF_getproplen(int, char *);
+int OF_getprop(int, char *, void *, int);
+int OF_nextprop(int, char *, void *);
+int OF_setprop(int, char *, const void *, int);
+int OF_finddevice(char *);
+int OF_instance_to_path(int, char *, int);
+int OF_package_to_path(int, char *, int);
+int OF_call_method_1(char *, int, int, ...);
+int OF_call_method(char *, int, int, int, ...);
+int OF_open(char *);
+void OF_close(int);
+int OF_read(int, void *, int);
+int OF_write(int, void *, int);
+int OF_seek(int, u_quad_t);
+void OF_boot(char *) __attribute__((__noreturn__));
+void OF_enter(void);
+void OF_exit(void) __attribute__((__noreturn__));
+void (*OF_set_callback(void(*)(void *)))(void *);
+int openfirmware(void *);
/*
* Functions and variables provided by machine-independent code.
*/
-int of_compatible (int, const char * const *);
-int of_decode_int (const unsigned char *buf);
-int of_packagename (int, char *, int);
+int of_compatible(int, const char * const *);
+int of_decode_int(const unsigned char *buf);
+int of_packagename(int, char *, int);
-int *of_network_decode_media (int, int *, int *);
+int *of_network_decode_media(int, int *, int *);
Home |
Main Index |
Thread Index |
Old Index