Skip to content

Ensure that called functions are declared, for C99 compatibility#6

Open
fweimer-rh wants to merge 1 commit into
andy-shev:masterfrom
fweimer-rh:c99
Open

Ensure that called functions are declared, for C99 compatibility#6
fweimer-rh wants to merge 1 commit into
andy-shev:masterfrom
fweimer-rh:c99

Conversation

@fweimer-rh

Copy link
Copy Markdown

Include "util.h" for declarations of string_replace, verify_path, xml_escape, and "util-gtk.h" for geometry_tie, jam_win_set_size, jam_warning jam_dialog_set_contents, scroll_wrap. Include "network.h" for net_ctx_gtk_new. Fix a type of html_mark_subscript in "html_markup.h". Include "config.h" early, to ensure that HAVE_GTK etc. are defined as appropriate.

This avoids build failures with future compilers which do not support implicit function declarations.

Related to:

Include "util.h" for declarations of string_replace, verify_path,
xml_escape, and "util-gtk.h" for geometry_tie, jam_win_set_size,
jam_warning jam_dialog_set_contents, scroll_wrap.  Include "network.h"
for net_ctx_gtk_new.  Fix a type of html_mark_subscript in
"html_markup.h".  Include "config.h" early, to ensure that HAVE_GTK
etc. are defined as appropriate.

This avoids build failures with future compilers which do not support
implicit function declarations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant