* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- *02110-1301 USA
+ * 02110-1301 USA
*/
-
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "../src/lib/url.h"
-
-int test_url_normalize(const char *url, const char *ref_url)
+static int test_url_normalize(const char *url, const char *ref_url)
{
int ret;
char *tmp = url_normalize(url);
return ret;
}
-
-int tests_url_normalize()
+static int tests_url_normalize(void)
{
int failures;
failures += tests_url_normalize();
- if (failures)
+ if (failures)
exit(EXIT_FAILURE);
else
exit(EXIT_SUCCESS);