Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Delete useless 'extern' qualifiers for functions

'extern' qualifier is useless for function declarations. Delete
them.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  • Loading branch information...
commit 64b85a8f2359ca3a995499afaf3c87d8e036e030 1 parent ba76a84
Blue Swirl blueswirl authored
2  cache-utils.h
@@ -9,7 +9,7 @@ struct qemu_cache_conf {
9 9
10 10 extern struct qemu_cache_conf qemu_cache_conf;
11 11
12   -extern void qemu_cache_utils_init(char **envp);
  12 +void qemu_cache_utils_init(char **envp);
13 13
14 14 /* mildly adjusted code from tcg-dyngen.c */
15 15 static inline void flush_icache_range(unsigned long start, unsigned long stop)
36 cmd.h
@@ -38,33 +38,33 @@ typedef struct cmdinfo {
38 38 extern cmdinfo_t *cmdtab;
39 39 extern int ncmds;
40 40
41   -extern void help_init(void);
42   -extern void quit_init(void);
  41 +void help_init(void);
  42 +void quit_init(void);
43 43
44 44 typedef int (*argsfunc_t)(int index);
45 45 typedef int (*checkfunc_t)(const cmdinfo_t *ci);
46 46
47   -extern void add_command(const cmdinfo_t *ci);
48   -extern void add_user_command(char *optarg);
49   -extern void add_args_command(argsfunc_t af);
50   -extern void add_check_command(checkfunc_t cf);
  47 +void add_command(const cmdinfo_t *ci);
  48 +void add_user_command(char *optarg);
  49 +void add_args_command(argsfunc_t af);
  50 +void add_check_command(checkfunc_t cf);
51 51
52   -extern const cmdinfo_t *find_command(const char *cmd);
  52 +const cmdinfo_t *find_command(const char *cmd);
53 53
54   -extern void command_loop(void);
55   -extern int command_usage(const cmdinfo_t *ci);
56   -extern int command(const cmdinfo_t *ci, int argc, char **argv);
  54 +void command_loop(void);
  55 +int command_usage(const cmdinfo_t *ci);
  56 +int command(const cmdinfo_t *ci, int argc, char **argv);
57 57
58 58 /* from input.h */
59   -extern char **breakline(char *input, int *count);
60   -extern void doneline(char *input, char **vec);
61   -extern char *fetchline(void);
  59 +char **breakline(char *input, int *count);
  60 +void doneline(char *input, char **vec);
  61 +char *fetchline(void);
62 62
63   -extern long long cvtnum(char *s);
64   -extern void cvtstr(double value, char *str, size_t sz);
  63 +long long cvtnum(char *s);
  64 +void cvtstr(double value, char *str, size_t sz);
65 65
66   -extern struct timeval tsub(struct timeval t1, struct timeval t2);
67   -extern double tdiv(double value, struct timeval tv);
  66 +struct timeval tsub(struct timeval t1, struct timeval t2);
  67 +double tdiv(double value, struct timeval tv);
68 68
69 69 enum {
70 70 DEFAULT_TIME = 0x0,
@@ -72,7 +72,7 @@ enum {
72 72 VERBOSE_FIXED_TIME = 0x2
73 73 };
74 74
75   -extern void timestr(struct timeval *tv, char *str, size_t sz, int flags);
  75 +void timestr(struct timeval *tv, char *str, size_t sz, int flags);
76 76
77 77 extern char *progname;
78 78
87 dis-asm.h
@@ -362,48 +362,48 @@ typedef struct disassemble_info {
362 362 target address. Return number of bytes processed. */
363 363 typedef int (*disassembler_ftype) (bfd_vma, disassemble_info *);
364 364
365   -extern int print_insn_big_mips (bfd_vma, disassemble_info*);
366   -extern int print_insn_little_mips (bfd_vma, disassemble_info*);
367   -extern int print_insn_i386 (bfd_vma, disassemble_info*);
368   -extern int print_insn_m68k (bfd_vma, disassemble_info*);
369   -extern int print_insn_z8001 (bfd_vma, disassemble_info*);
370   -extern int print_insn_z8002 (bfd_vma, disassemble_info*);
371   -extern int print_insn_h8300 (bfd_vma, disassemble_info*);
372   -extern int print_insn_h8300h (bfd_vma, disassemble_info*);
373   -extern int print_insn_h8300s (bfd_vma, disassemble_info*);
374   -extern int print_insn_h8500 (bfd_vma, disassemble_info*);
375   -extern int print_insn_alpha (bfd_vma, disassemble_info*);
376   -extern disassembler_ftype arc_get_disassembler (int, int);
377   -extern int print_insn_arm (bfd_vma, disassemble_info*);
378   -extern int print_insn_sparc (bfd_vma, disassemble_info*);
379   -extern int print_insn_big_a29k (bfd_vma, disassemble_info*);
380   -extern int print_insn_little_a29k (bfd_vma, disassemble_info*);
381   -extern int print_insn_i960 (bfd_vma, disassemble_info*);
382   -extern int print_insn_sh (bfd_vma, disassemble_info*);
383   -extern int print_insn_shl (bfd_vma, disassemble_info*);
384   -extern int print_insn_hppa (bfd_vma, disassemble_info*);
385   -extern int print_insn_m32r (bfd_vma, disassemble_info*);
386   -extern int print_insn_m88k (bfd_vma, disassemble_info*);
387   -extern int print_insn_mn10200 (bfd_vma, disassemble_info*);
388   -extern int print_insn_mn10300 (bfd_vma, disassemble_info*);
389   -extern int print_insn_ns32k (bfd_vma, disassemble_info*);
390   -extern int print_insn_big_powerpc (bfd_vma, disassemble_info*);
391   -extern int print_insn_little_powerpc (bfd_vma, disassemble_info*);
392   -extern int print_insn_rs6000 (bfd_vma, disassemble_info*);
393   -extern int print_insn_w65 (bfd_vma, disassemble_info*);
394   -extern int print_insn_d10v (bfd_vma, disassemble_info*);
395   -extern int print_insn_v850 (bfd_vma, disassemble_info*);
396   -extern int print_insn_tic30 (bfd_vma, disassemble_info*);
397   -extern int print_insn_ppc (bfd_vma, disassemble_info*);
398   -extern int print_insn_s390 (bfd_vma, disassemble_info*);
399   -extern int print_insn_crisv32 (bfd_vma, disassemble_info*);
400   -extern int print_insn_crisv10 (bfd_vma, disassemble_info*);
401   -extern int print_insn_microblaze (bfd_vma, disassemble_info*);
402   -extern int print_insn_ia64 (bfd_vma, disassemble_info*);
  365 +int print_insn_big_mips (bfd_vma, disassemble_info*);
  366 +int print_insn_little_mips (bfd_vma, disassemble_info*);
  367 +int print_insn_i386 (bfd_vma, disassemble_info*);
  368 +int print_insn_m68k (bfd_vma, disassemble_info*);
  369 +int print_insn_z8001 (bfd_vma, disassemble_info*);
  370 +int print_insn_z8002 (bfd_vma, disassemble_info*);
  371 +int print_insn_h8300 (bfd_vma, disassemble_info*);
  372 +int print_insn_h8300h (bfd_vma, disassemble_info*);
  373 +int print_insn_h8300s (bfd_vma, disassemble_info*);
  374 +int print_insn_h8500 (bfd_vma, disassemble_info*);
  375 +int print_insn_alpha (bfd_vma, disassemble_info*);
  376 +disassembler_ftype arc_get_disassembler (int, int);
  377 +int print_insn_arm (bfd_vma, disassemble_info*);
  378 +int print_insn_sparc (bfd_vma, disassemble_info*);
  379 +int print_insn_big_a29k (bfd_vma, disassemble_info*);
  380 +int print_insn_little_a29k (bfd_vma, disassemble_info*);
  381 +int print_insn_i960 (bfd_vma, disassemble_info*);
  382 +int print_insn_sh (bfd_vma, disassemble_info*);
  383 +int print_insn_shl (bfd_vma, disassemble_info*);
  384 +int print_insn_hppa (bfd_vma, disassemble_info*);
  385 +int print_insn_m32r (bfd_vma, disassemble_info*);
  386 +int print_insn_m88k (bfd_vma, disassemble_info*);
  387 +int print_insn_mn10200 (bfd_vma, disassemble_info*);
  388 +int print_insn_mn10300 (bfd_vma, disassemble_info*);
  389 +int print_insn_ns32k (bfd_vma, disassemble_info*);
  390 +int print_insn_big_powerpc (bfd_vma, disassemble_info*);
  391 +int print_insn_little_powerpc (bfd_vma, disassemble_info*);
  392 +int print_insn_rs6000 (bfd_vma, disassemble_info*);
  393 +int print_insn_w65 (bfd_vma, disassemble_info*);
  394 +int print_insn_d10v (bfd_vma, disassemble_info*);
  395 +int print_insn_v850 (bfd_vma, disassemble_info*);
  396 +int print_insn_tic30 (bfd_vma, disassemble_info*);
  397 +int print_insn_ppc (bfd_vma, disassemble_info*);
  398 +int print_insn_s390 (bfd_vma, disassemble_info*);
  399 +int print_insn_crisv32 (bfd_vma, disassemble_info*);
  400 +int print_insn_crisv10 (bfd_vma, disassemble_info*);
  401 +int print_insn_microblaze (bfd_vma, disassemble_info*);
  402 +int print_insn_ia64 (bfd_vma, disassemble_info*);
403 403
404 404 #if 0
405 405 /* Fetch the disassembler for a given BFD, if that support is available. */
406   -extern disassembler_ftype disassembler (bfd *);
  406 +disassembler_ftype disassembler(bfd *);
407 407 #endif
408 408
409 409
@@ -412,21 +412,20 @@ extern disassembler_ftype disassembler (bfd *);
412 412
413 413 /* Here is a function which callers may wish to use for read_memory_func.
414 414 It gets bytes from a buffer. */
415   -extern int buffer_read_memory
416   - (bfd_vma, bfd_byte *, int, struct disassemble_info *);
  415 +int buffer_read_memory(bfd_vma, bfd_byte *, int, struct disassemble_info *);
417 416
418 417 /* This function goes with buffer_read_memory.
419 418 It prints a message using info->fprintf_func and info->stream. */
420   -extern void perror_memory (int, bfd_vma, struct disassemble_info *);
  419 +void perror_memory(int, bfd_vma, struct disassemble_info *);
421 420
422 421
423 422 /* Just print the address in hex. This is included for completeness even
424 423 though both GDB and objdump provide their own (to print symbolic
425 424 addresses). */
426   -extern void generic_print_address (bfd_vma, struct disassemble_info *);
  425 +void generic_print_address(bfd_vma, struct disassemble_info *);
427 426
428 427 /* Always true. */
429   -extern int generic_symbol_at_address (bfd_vma, struct disassemble_info *);
  428 +int generic_symbol_at_address(bfd_vma, struct disassemble_info *);
430 429
431 430 /* Macro to initialize a disassemble_info struct. This should be called
432 431 by all applications creating such a struct. */
14 envlist.h
@@ -7,13 +7,13 @@ extern "C" {
7 7
8 8 typedef struct envlist envlist_t;
9 9
10   -extern envlist_t *envlist_create(void);
11   -extern void envlist_free(envlist_t *);
12   -extern int envlist_setenv(envlist_t *, const char *);
13   -extern int envlist_unsetenv(envlist_t *, const char *);
14   -extern int envlist_parse_set(envlist_t *, const char *);
15   -extern int envlist_parse_unset(envlist_t *, const char *);
16   -extern char **envlist_to_environ(const envlist_t *, size_t *);
  10 +envlist_t *envlist_create(void);
  11 +void envlist_free(envlist_t *);
  12 +int envlist_setenv(envlist_t *, const char *);
  13 +int envlist_unsetenv(envlist_t *, const char *);
  14 +int envlist_parse_set(envlist_t *, const char *);
  15 +int envlist_parse_unset(envlist_t *, const char *);
  16 +char **envlist_to_environ(const envlist_t *, size_t *);
17 17
18 18 #ifdef __cplusplus
19 19 }
2  exec-all.h
@@ -192,7 +192,7 @@ extern TranslationBlock *tb_phys_hash[CODE_GEN_PHYS_HASH_SIZE];
192 192 #if defined(USE_DIRECT_JUMP)
193 193
194 194 #if defined(_ARCH_PPC)
195   -extern void ppc_tb_set_jmp_target(unsigned long jmp_addr, unsigned long addr);
  195 +void ppc_tb_set_jmp_target(unsigned long jmp_addr, unsigned long addr);
196 196 #define tb_set_jmp_target1 ppc_tb_set_jmp_target
197 197 #elif defined(__i386__) || defined(__x86_64__)
198 198 static inline void tb_set_jmp_target1(unsigned long jmp_addr, unsigned long addr)
4 fsdev/qemu-fsdev.h
@@ -49,7 +49,7 @@ typedef struct FsTypeListEntry {
49 49 QTAILQ_ENTRY(FsTypeListEntry) next;
50 50 } FsTypeListEntry;
51 51
52   -extern int qemu_fsdev_add(QemuOpts *opts);
53   -extern FsTypeEntry *get_fsdev_fsentry(char *id);
  52 +int qemu_fsdev_add(QemuOpts *opts);
  53 +FsTypeEntry *get_fsdev_fsentry(char *id);
54 54 extern FileOperations local_ops;
55 55 #endif
2  hw/file-op-9p.h
@@ -57,7 +57,7 @@ typedef struct FsContext
57 57 struct xattr_operations **xops;
58 58 } FsContext;
59 59
60   -extern void cred_init(FsCred *);
  60 +void cred_init(FsCred *);
61 61
62 62 typedef struct FileOperations
63 63 {
21 hw/hw.h
@@ -799,17 +799,16 @@ extern const VMStateDescription vmstate_i2c_slave;
799 799 #define VMSTATE_END_OF_LIST() \
800 800 {}
801 801
802   -extern int vmstate_load_state(QEMUFile *f, const VMStateDescription *vmsd,
803   - void *opaque, int version_id);
804   -extern void vmstate_save_state(QEMUFile *f, const VMStateDescription *vmsd,
805   - void *opaque);
806   -extern int vmstate_register(DeviceState *dev, int instance_id,
807   - const VMStateDescription *vmsd, void *base);
808   -extern int vmstate_register_with_alias_id(DeviceState *dev,
809   - int instance_id,
810   - const VMStateDescription *vmsd,
811   - void *base, int alias_id,
812   - int required_for_version);
  802 +int vmstate_load_state(QEMUFile *f, const VMStateDescription *vmsd,
  803 + void *opaque, int version_id);
  804 +void vmstate_save_state(QEMUFile *f, const VMStateDescription *vmsd,
  805 + void *opaque);
  806 +int vmstate_register(DeviceState *dev, int instance_id,
  807 + const VMStateDescription *vmsd, void *base);
  808 +int vmstate_register_with_alias_id(DeviceState *dev, int instance_id,
  809 + const VMStateDescription *vmsd,
  810 + void *base, int alias_id,
  811 + int required_for_version);
813 812 void vmstate_unregister(DeviceState *dev, const VMStateDescription *vmsd,
814 813 void *opaque);
815 814 #endif
2  hw/mips.h
@@ -21,7 +21,7 @@ int g364fb_mm_init(target_phys_addr_t vram_base,
21 21 void mipsnet_init(int base, qemu_irq irq, NICInfo *nd);
22 22
23 23 /* jazz_led.c */
24   -extern void jazz_led_init(target_phys_addr_t base);
  24 +void jazz_led_init(target_phys_addr_t base);
25 25
26 26 /* rc4030.c */
27 27 typedef struct rc4030DMAState *rc4030_dma;
16 hw/s390-virtio-bus.h
@@ -58,14 +58,12 @@ typedef struct VirtIOS390Bus {
58 58 } VirtIOS390Bus;
59 59
60 60
61   -extern void s390_virtio_device_update_status(VirtIOS390Device *dev);
  61 +void s390_virtio_device_update_status(VirtIOS390Device *dev);
62 62
63   -extern VirtIOS390Device *s390_virtio_bus_console(VirtIOS390Bus *bus);
64   -extern VirtIOS390Bus *s390_virtio_bus_init(ram_addr_t *ram_size);
  63 +VirtIOS390Device *s390_virtio_bus_console(VirtIOS390Bus *bus);
  64 +VirtIOS390Bus *s390_virtio_bus_init(ram_addr_t *ram_size);
65 65
66   -extern VirtIOS390Device *s390_virtio_bus_find_vring(VirtIOS390Bus *bus,
67   - ram_addr_t mem,
68   - int *vq_num);
69   -extern VirtIOS390Device *s390_virtio_bus_find_mem(VirtIOS390Bus *bus,
70   - ram_addr_t mem);
71   -extern void s390_virtio_device_sync(VirtIOS390Device *dev);
  66 +VirtIOS390Device *s390_virtio_bus_find_vring(VirtIOS390Bus *bus,
  67 + ram_addr_t mem, int *vq_num);
  68 +VirtIOS390Device *s390_virtio_bus_find_mem(VirtIOS390Bus *bus, ram_addr_t mem);
  69 +void s390_virtio_device_sync(VirtIOS390Device *dev);
17 hw/virtio-9p-xattr.h
@@ -41,16 +41,15 @@ extern XattrOperations *mapped_xattr_ops[];
41 41 extern XattrOperations *passthrough_xattr_ops[];
42 42 extern XattrOperations *none_xattr_ops[];
43 43
44   -extern ssize_t v9fs_get_xattr(FsContext *ctx, const char *path,
45   - const char *name, void *value, size_t size);
46   -extern ssize_t v9fs_list_xattr(FsContext *ctx, const char *path,
47   - void *value, size_t vsize);
48   -extern int v9fs_set_xattr(FsContext *ctx, const char *path, const char *name,
  44 +ssize_t v9fs_get_xattr(FsContext *ctx, const char *path, const char *name,
  45 + void *value, size_t size);
  46 +ssize_t v9fs_list_xattr(FsContext *ctx, const char *path, void *value,
  47 + size_t vsize);
  48 +int v9fs_set_xattr(FsContext *ctx, const char *path, const char *name,
49 49 void *value, size_t size, int flags);
50   -extern int v9fs_remove_xattr(FsContext *ctx,
51   - const char *path, const char *name);
52   -extern ssize_t pt_listxattr(FsContext *ctx, const char *path,
53   - char *name, void *value, size_t size);
  50 +int v9fs_remove_xattr(FsContext *ctx, const char *path, const char *name);
  51 +ssize_t pt_listxattr(FsContext *ctx, const char *path, char *name, void *value,
  52 + size_t size);
54 53
55 54 static inline ssize_t pt_getxattr(FsContext *ctx, const char *path,
56 55 const char *name, void *value, size_t size)
4 hw/virtio-9p.h
@@ -495,8 +495,8 @@ typedef struct V9fsReadLinkState
495 495 V9fsString target;
496 496 } V9fsReadLinkState;
497 497
498   -extern size_t pdu_packunpack(void *addr, struct iovec *sg, int sg_count,
499   - size_t offset, size_t size, int pack);
  498 +size_t pdu_packunpack(void *addr, struct iovec *sg, int sg_count,
  499 + size_t offset, size_t size, int pack);
500 500
501 501 static inline size_t do_pdu_unpack(void *dst, struct iovec *sg, int sg_count,
502 502 size_t offset, size_t size)
8 hw/watchdog.h
@@ -35,9 +35,9 @@ struct WatchdogTimerModel {
35 35 typedef struct WatchdogTimerModel WatchdogTimerModel;
36 36
37 37 /* in hw/watchdog.c */
38   -extern int select_watchdog(const char *p);
39   -extern int select_watchdog_action(const char *action);
40   -extern void watchdog_add_model(WatchdogTimerModel *model);
41   -extern void watchdog_perform_action(void);
  38 +int select_watchdog(const char *p);
  39 +int select_watchdog_action(const char *action);
  40 +void watchdog_add_model(WatchdogTimerModel *model);
  41 +void watchdog_perform_action(void);
42 42
43 43 #endif /* QEMU_WATCHDOG_H */
6 linux-user/arm/nwfpe/fpa11.h
@@ -89,9 +89,9 @@ typedef struct tagFPA11 {
89 89
90 90 extern FPA11* qemufpa;
91 91
92   -extern void resetFPA11(void);
93   -extern void SetRoundingMode(const unsigned int);
94   -extern void SetRoundingPrecision(const unsigned int);
  92 +void resetFPA11(void);
  93 +void SetRoundingMode(const unsigned int);
  94 +void SetRoundingPrecision(const unsigned int);
95 95
96 96 static inline unsigned int readRegister(unsigned int reg)
97 97 {
4 linux-user/arm/nwfpe/fpopcode.h
@@ -384,7 +384,7 @@ static inline float32 getSingleConstant(const unsigned int nIndex)
384 384 return float32Constant[nIndex];
385 385 }
386 386
387   -extern unsigned int getRegisterCount(const unsigned int opcode);
388   -extern unsigned int getDestinationSize(const unsigned int opcode);
  387 +unsigned int getRegisterCount(const unsigned int opcode);
  388 +unsigned int getDestinationSize(const unsigned int opcode);
389 389
390 390 #endif
2  qemu-common.h
@@ -90,7 +90,7 @@ typedef int (*fprintf_function)(FILE *f, const char *fmt, ...)
90 90 #ifdef _WIN32
91 91 #define fsync _commit
92 92 #define lseek _lseeki64
93   -extern int qemu_ftruncate64(int, int64_t);
  93 +int qemu_ftruncate64(int, int64_t);
94 94 #define ftruncate qemu_ftruncate64
95 95
96 96 static inline char *realpath(const char *path, char *resolved_path)
2  slirp/slirp.h
@@ -238,7 +238,7 @@ void if_start(struct ttys *);
238 238 #endif
239 239
240 240 #ifndef HAVE_STRERROR
241   - extern char *strerror(int error);
  241 + char *strerror(int error);
242 242 #endif
243 243
244 244 #ifndef HAVE_INDEX
6 target-s390x/cpu.h
@@ -105,9 +105,9 @@ int cpu_s390x_handle_mmu_fault (CPUS390XState *env, target_ulong address, int rw
105 105 #define TARGET_VIRT_ADDR_SPACE_BITS 32
106 106
107 107 #ifndef CONFIG_USER_ONLY
108   -extern int s390_virtio_hypercall(CPUState *env);
109   -extern void kvm_s390_virtio_irq(CPUState *env, int config_change, uint64_t token);
110   -extern CPUState *s390_cpu_addr2state(uint16_t cpu_addr);
  108 +int s390_virtio_hypercall(CPUState *env);
  109 +void kvm_s390_virtio_irq(CPUState *env, int config_change, uint64_t token);
  110 +CPUState *s390_cpu_addr2state(uint16_t cpu_addr);
111 111 #endif
112 112
113 113
4 tests/cris/sys.h
@@ -12,5 +12,5 @@
12 12
13 13 #define mb() asm volatile ("" : : : "memory")
14 14
15   -extern void pass(void);
16   -extern void _fail(char *reason);
  15 +void pass(void);
  16 +void _fail(char *reason);
6 ui/cocoa.m
@@ -852,9 +852,9 @@ - (void)showQEMUTec:(id)sender
852 852 UInt32 hi;
853 853 } CPSProcessSerNum;
854 854
855   -extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn);
856   -extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5);
857   -extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn);
  855 +OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn);
  856 +OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5);
  857 +OSErr CPSSetFrontProcess( CPSProcessSerNum *psn);
858 858
859 859 int main (int argc, const char * argv[]) {
860 860
8 ui/d3des.h
@@ -22,25 +22,25 @@
22 22 #define EN0 0 /* MODE == encrypt */
23 23 #define DE1 1 /* MODE == decrypt */
24 24
25   -extern void deskey(unsigned char *, int);
  25 +void deskey(unsigned char *, int);
26 26 /* hexkey[8] MODE
27 27 * Sets the internal key register according to the hexadecimal
28 28 * key contained in the 8 bytes of hexkey, according to the DES,
29 29 * for encryption or decryption according to MODE.
30 30 */
31 31
32   -extern void usekey(unsigned long *);
  32 +void usekey(unsigned long *);
33 33 /* cookedkey[32]
34 34 * Loads the internal key register with the data in cookedkey.
35 35 */
36 36
37   -extern void cpkey(unsigned long *);
  37 +void cpkey(unsigned long *);
38 38 /* cookedkey[32]
39 39 * Copies the contents of the internal key register into the storage
40 40 * located at &cookedkey[0].
41 41 */
42 42
43   -extern void des(unsigned char *, unsigned char *);
  43 +void des(unsigned char *, unsigned char *);
44 44 /* from[8] to[8]
45 45 * Encrypts/Decrypts (according to the key currently loaded in the
46 46 * internal key register) one block of eight bytes at address 'from'
4 ui/x_keymap.h
@@ -25,8 +25,8 @@
25 25 #ifndef QEMU_X_KEYMAP_H
26 26 #define QEMU_X_KEYMAP_H
27 27
28   -extern uint8_t translate_xfree86_keycode(const int key);
  28 +uint8_t translate_xfree86_keycode(const int key);
29 29
30   -extern uint8_t translate_evdev_keycode(const int key);
  30 +uint8_t translate_evdev_keycode(const int key);
31 31
32 32 #endif

0 comments on commit 64b85a8

Please sign in to comment.
Something went wrong with that request. Please try again.