Fixed restoration of the panel divider position.
[psensor.git] / tests / test_url_normalize.c
index 1a76209..9736c66 100644 (file)
  * 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>
@@ -25,8 +24,7 @@
 
 #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);
@@ -48,8 +46,7 @@ int test_url_normalize(const char *url, const char *ref_url)
        return ret;
 }
 
-
-int tests_url_normalize()
+static int tests_url_normalize(void)
 {
        int failures;
 
@@ -72,7 +69,7 @@ int main(int argc, char **argv)
 
        failures += tests_url_normalize();
 
-       if (failures) 
+       if (failures)
                exit(EXIT_FAILURE);
        else
                exit(EXIT_SUCCESS);