diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-07-31 21:26:29 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-07-31 21:26:29 -0600 |
commit | fb9dcc629630fe77840574088412eeb12b8d7ddb (patch) | |
tree | bb6735fa053ee26b43c09455eccd20a19fb8b1b6 /libdimension/dimension/geometry.h | |
parent | db019a2c4aa8a7bbfad0dd380717a1d6567d2e82 (diff) | |
download | dimension-fb9dcc629630fe77840574088412eeb12b8d7ddb.tar.xz |
Fix some -W{strict,missing}-prototypes warnings.
Diffstat (limited to 'libdimension/dimension/geometry.h')
-rw-r--r-- | libdimension/dimension/geometry.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/dimension/geometry.h b/libdimension/dimension/geometry.h index 5efba3a..42a9985 100644 --- a/libdimension/dimension/geometry.h +++ b/libdimension/dimension/geometry.h @@ -118,7 +118,7 @@ dmnsn_new_matrix(double a0, double a1, double a2, double a3, return m; } -dmnsn_matrix dmnsn_identity_matrix(); +dmnsn_matrix dmnsn_identity_matrix(void); dmnsn_matrix dmnsn_scale_matrix(dmnsn_vector s); dmnsn_matrix dmnsn_translation_matrix(dmnsn_vector d); /* Left-handed rotation; theta/|theta| = axis, |theta| = angle */ @@ -132,7 +132,7 @@ dmnsn_new_line(dmnsn_vector x0, dmnsn_vector n) } DMNSN_INLINE dmnsn_bounding_box -dmnsn_zero_bounding_box() +dmnsn_zero_bounding_box(void) { dmnsn_bounding_box box = { { INFINITY, INFINITY, INFINITY }, @@ -142,7 +142,7 @@ dmnsn_zero_bounding_box() } DMNSN_INLINE dmnsn_bounding_box -dmnsn_infinite_bounding_box() +dmnsn_infinite_bounding_box(void) { dmnsn_bounding_box box = { { -INFINITY, -INFINITY, -INFINITY }, |