|
Revision 16234, 343 bytes
(checked in by everaldo, 7 months ago)
|
Added script to fix the 'externs' in header files
|
- Property svn:executable set to
*
|
| Line | |
|---|
| 1 |
#!/bin/bash |
|---|
| 2 |
# |
|---|
| 3 |
# Actually GAPI dont work fine with the "extern" clause in function declarations, |
|---|
| 4 |
# this is script could be used to remove this externs from Midgard header files. |
|---|
| 5 |
# |
|---|
| 6 |
|
|---|
| 7 |
MIDGARD_INCLUDES=@MIDGARD_INCLUDES@/midgard-2.0/midgard |
|---|
| 8 |
|
|---|
| 9 |
cd $MIDGARD_INCLUDES |
|---|
| 10 |
|
|---|
| 11 |
for file in *.h; do |
|---|
| 12 |
echo "$file" |
|---|
| 13 |
sed -i -e 's,extern ,/*extern*/ ,' $file |
|---|
| 14 |
done |
|---|
| 15 |
|
|---|