]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - lib/ss/error.c
Clean up sparse warnings
[thirdparty/e2fsprogs.git] / lib / ss / error.c
index 781ba82dd3db3060f0c8808c038e1639faf66edf..8d345a9f0cd3a0be53c61ab5f40e2f528d863619 100644 (file)
@@ -20,8 +20,7 @@
 
 #include <stdarg.h>
 
-char * ss_name(sci_idx)
-    int sci_idx;
+char *ss_name(int sci_idx)
 {
     register char *ret_val;
     register ss_data *infop;
@@ -70,10 +69,7 @@ void ss_error (int sci_idx, long code, const char * fmt, ...)
     va_end(pvar);
 }
 
-void ss_perror (sci_idx, code, msg) /* for compatibility */
-    int sci_idx;
-    long code;
-    char const *msg;
+void ss_perror(int sci_idx, long code, char const *msg) /* for compatibility */
 {
     ss_error (sci_idx, code, "%s", msg);
 }