Skip to content

Commit

Permalink
remove typo and change function location
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnoStiefvater committed Feb 26, 2020
1 parent 27fdf1d commit 9ada3e2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions base/hosts.c
Original file line number Diff line number Diff line change
Expand Up @@ -1537,10 +1537,10 @@ gvm_hosts_exclude (gvm_hosts_t *hosts, const char *excluded_str)

/**
* @brief Creates a new gvm_host_t from the provided host_str. host_str can
* consist of hostnam, IPv4 address or IPv6 address.
* consist of hostname, IPv4 address or IPv6 address.
*
* @param[in] host_str The host string. A copy will be created of this within
* the returned struct.
* @param[in] host_str The host string. A copy will be created for the returned
* struct.
*
* @return NULL if error. Otherwise, a single host structure that should be put
* into a gvm_hosts_t structure for freeing with @ref gvm_hosts_free or
Expand Down
5 changes: 3 additions & 2 deletions base/hosts.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ struct gvm_hosts
/* Function prototypes. */

/* gvm_hosts_t related */
void
gvm_hosts_add (gvm_hosts_t *, gvm_host_t *);

gvm_hosts_t *
gvm_hosts_new (const gchar *);
Expand All @@ -121,6 +119,9 @@ gvm_hosts_shuffle (gvm_hosts_t *);
void
gvm_hosts_reverse (gvm_hosts_t *);

void
gvm_hosts_add (gvm_hosts_t *, gvm_host_t *);

GSList *
gvm_hosts_resolve (gvm_hosts_t *);

Expand Down

0 comments on commit 9ada3e2

Please sign in to comment.