aboutsummaryrefslogtreecommitdiff
path: root/src/farptr.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-01-03 17:43:37 -0500
committerKevin O'Connor <kevin@koconnor.net>2010-01-03 17:43:37 -0500
commit1ca05b0f393c0201c0e8efe87831edddb6a53532 (patch)
tree4419fdb78cba0962313f8e6bcf35d16a3401183e /src/farptr.h
parentb5bb9db8425b3b463e634874e3a201a354d55ac7 (diff)
downloadseabios-hppa-1ca05b0f393c0201c0e8efe87831edddb6a53532.zip
seabios-hppa-1ca05b0f393c0201c0e8efe87831edddb6a53532.tar.gz
seabios-hppa-1ca05b0f393c0201c0e8efe87831edddb6a53532.tar.bz2
Be sure to add "void" to all function prototypes that take no args.
Omitting "void" leads to a K&R style declaration which was not intended.
Diffstat (limited to 'src/farptr.h')
-rw-r--r--src/farptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/farptr.h b/src/farptr.h
index 0bd9248..3dbf545 100644
--- a/src/farptr.h
+++ b/src/farptr.h
@@ -50,7 +50,7 @@ extern u16 __segment_FS, __segment_GS;
// Macros for automatically choosing the appropriate memory size
// access method.
-extern void __force_link_error__unknown_type();
+extern void __force_link_error__unknown_type(void);
#define __GET_VAR(prefix, seg, var) ({ \
typeof(var) __val; \