summaryrefslogtreecommitdiff
path: root/ham/yaesu/patches/patch-save__mem.c
blob: 9a39542621a9cce12dee7a56de2944415500eba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-save__mem.c,v 1.1 2012/10/24 15:38:05 joerg Exp $

--- save_mem.c.orig	2012-10-21 10:06:08.000000000 +0000
+++ save_mem.c
@@ -1,14 +1,9 @@
 #include <sys/file.h>
 #include <stdio.h>
-#include <config.h>
-extern main();
-extern stat_upd();
-extern rd_flags();
-extern int data_return_param;
-extern data_array[];
-extern outport();
+#include "config.h"
+#include "yaesu.h"
 
-mem_save(int fdSer) {
+void mem_save(int fdSer) {
     int opcode, n, freq;
     int memory_contents[650];
     FILE *mem_fd;