]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
style: Fix formatting 35185/head
authorFederico Giovanardi <federico.giovanardi@cnhind.com>
Tue, 19 Nov 2024 08:55:07 +0000 (09:55 +0100)
committerFederico Giovanardi <federico.giovanardi@cnhind.com>
Tue, 19 Nov 2024 08:55:07 +0000 (09:55 +0100)
src/test/generate-sym-test.py

index 914120b0bcaba39d73d1609f41ca55173511ece3..2e5177c9340e471167c8224f0b78c348ca1212e7 100755 (executable)
@@ -99,13 +99,13 @@ int main(void) {
         printf("Found %zu symbols from source files.\\n", j);
 
         for (i = 0; symbols_from_sym[i].name; i++) {
-                struct symbol*n = bsearch(symbols_from_sym+i, symbols_from_source, sizeof(symbols_from_source)/sizeof(symbols_from_source[0])-1, sizeof(symbols_from_source[0]), sort_callback);
+                struct symbol *n = bsearch(symbols_from_sym+i, symbols_from_source, sizeof(symbols_from_source)/sizeof(symbols_from_source[0])-1, sizeof(symbols_from_source[0]), sort_callback);
                 if (!n)
                         printf("Found in symbol file, but not in sources: %s\\n", symbols_from_sym[i].name);
         }
 
         for (j = 0; symbols_from_source[j].name; j++) {
-                struct symbol*n = bsearch(symbols_from_source+j, symbols_from_sym, sizeof(symbols_from_sym)/sizeof(symbols_from_sym[0])-1, sizeof(symbols_from_sym[0]), sort_callback);
+                struct symbol *n = bsearch(symbols_from_source+j, symbols_from_sym, sizeof(symbols_from_sym)/sizeof(symbols_from_sym[0])-1, sizeof(symbols_from_sym[0]), sort_callback);
                 if (!n)
                         printf("Found in sources, but not in symbol file: %s\\n", symbols_from_source[j].name);
         }