diff options
| author | Juanma Barranquero | 2010-07-06 16:22:29 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-07-06 16:22:29 +0200 |
| commit | b56ceb92bf4d470af2e9172d1fcd4d85232c40a6 (patch) | |
| tree | 50ab60b4715be45ed671c386c5b9336b45443539 /src/w32reg.c | |
| parent | 7af07b967171736a35e0af8b6ecf6feb072184dc (diff) | |
| download | emacs-b56ceb92bf4d470af2e9172d1fcd4d85232c40a6.tar.gz emacs-b56ceb92bf4d470af2e9172d1fcd4d85232c40a6.zip | |
src/w32*.c: Convert function definitions to standard C.
Diffstat (limited to 'src/w32reg.c')
| -rw-r--r-- | src/w32reg.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/w32reg.c b/src/w32reg.c index f9687d1effe..77667eb7dc9 100644 --- a/src/w32reg.c +++ b/src/w32reg.c | |||
| @@ -58,9 +58,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 58 | */ | 58 | */ |
| 59 | 59 | ||
| 60 | static char * | 60 | static char * |
| 61 | w32_get_rdb_resource (rdb, resource) | 61 | w32_get_rdb_resource (char *rdb, char *resource) |
| 62 | char *rdb; | ||
| 63 | char *resource; | ||
| 64 | { | 62 | { |
| 65 | char *value = rdb; | 63 | char *value = rdb; |
| 66 | int len = strlen (resource); | 64 | int len = strlen (resource); |
| @@ -78,9 +76,7 @@ w32_get_rdb_resource (rdb, resource) | |||
| 78 | } | 76 | } |
| 79 | 77 | ||
| 80 | static LPBYTE | 78 | static LPBYTE |
| 81 | w32_get_string_resource (name, class, dwexptype) | 79 | w32_get_string_resource (char *name, char *class, DWORD dwexptype) |
| 82 | char *name, *class; | ||
| 83 | DWORD dwexptype; | ||
| 84 | { | 80 | { |
| 85 | LPBYTE lpvalue = NULL; | 81 | LPBYTE lpvalue = NULL; |
| 86 | HKEY hrootkey = NULL; | 82 | HKEY hrootkey = NULL; |
| @@ -147,9 +143,7 @@ w32_get_string_resource (name, class, dwexptype) | |||
| 147 | database RDB. */ | 143 | database RDB. */ |
| 148 | 144 | ||
| 149 | char * | 145 | char * |
| 150 | x_get_string_resource (rdb, name, class) | 146 | x_get_string_resource (XrmDatabase rdb, char *name, char *class) |
| 151 | XrmDatabase rdb; | ||
| 152 | char *name, *class; | ||
| 153 | { | 147 | { |
| 154 | if (rdb) | 148 | if (rdb) |
| 155 | { | 149 | { |