diff options
| author | simonb <simonb@NetBSD.org> | 2001-06-19 08:24:07 +0000 |
|---|---|---|
| committer | simonb <simonb@NetBSD.org> | 2001-06-19 08:24:07 +0000 |
| commit | a8068ab82d9a7ff598ed92ae2b86a6ed21597334 (patch) | |
| tree | 1b846d51f1cf7bd88935aeb9974f4e59a16be2b2 /sys/dev | |
| parent | e16036ef8385d47fc086bb36df166f79587f0061 (diff) | |
Don't use argument names in function declarations.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ofw/openfirm.h | 57 |
1 files changed, 28 insertions, 29 deletions
diff --git a/sys/dev/ofw/openfirm.h b/sys/dev/ofw/openfirm.h index 3f7b294be22..17242474f0d 100644 --- a/sys/dev/ofw/openfirm.h +++ b/sys/dev/ofw/openfirm.h @@ -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 @@ struct ofbus_softc { */ 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 *); |
