[...]
> -#endif __SNMP__
> +#endif /* __SNMP__ */
Might as well automate it for all of these endif ones through the entire
kernel (assuming you already haven't of course).
Paul.
-----------------------------8<-----------8<------------------------
#!/bin/bash
for i in `find . -type f -name '*.[chS]'`
do
grep -q '^#endif [A-Za-z0-9_]' $i 2>/dev/null
if [ $? == 0 ]; then
mv $i $i~
sed 's/^#endif \([A-Za-z0-9_]\+$\)/#endif \/\* \1 \*\//'<$i~>$i
fi
done
-----------------------------8<-----------8<------------------------
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/