Skip to content
Extraits de code Groupes Projets
Valider 298c33f4 rédigé par Eliah Rebstock's avatar Eliah Rebstock Validation de Etienne BRATEAU
Parcourir les fichiers

Fix braces warning

parent d194c238
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!7Refactor and "clean" some source files
#!/bin/sh #!/bin/sh
# create an initialization table from a list of .o files # create an initialization table from a list of .o files
# use for linux, SunOS and 68K/based HPUX machines; for other machines, # use for linux for other machines,
# rename the appropriate munch.XXXX files to be munch # rename the appropriate munch.XXXX files to be munch
pattern=$1 pattern=$1
...@@ -17,8 +17,7 @@ echo '' ...@@ -17,8 +17,7 @@ echo ''
sed -n -e 's/^[^U]*[_ ]\('$pattern'\).*$/extern void \1();/p' munch.temp | sort sed -n -e 's/^[^U]*[_ ]\('$pattern'\).*$/extern void \1();/p' munch.temp | sort
echo '' echo ''
echo 'struct ext_proc ext_proc_table[] = {' echo 'struct ext_proc ext_proc_table[] = {'
cat munch.temp | sed -n -e 's/^[^U]*[_ ]\('$pattern'\).*$/ "\1", \1,/p' | sort cat munch.temp | sed -n -e 's/^[^U]*[_ ]\('$pattern'\).*$/ \{"\1", \1\},/p' | sort
echo ' NULL, NULL' echo '{NULL, NULL}'
echo '};' echo '};'
echo '' echo ''
Ce diff est replié.
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter