projects
/
osl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
44a2090
)
Error codes must not start with zero.
author
Andre Noll
<maan@systemlinux.org>
Fri, 6 Jun 2008 08:43:42 +0000
(10:43 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Fri, 6 Jun 2008 08:43:42 +0000
(10:43 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index d2a136c504ce57db431fc04a60afb561fd3b6bfc..bcb5cea550c1f332e6f57adfa9066292992206dd 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-126,6
+126,7
@@
$(realname): $(objects)
osl_errors.h: errlist
sed -e 's/\([A-Z_]*\) .*/ E_OSL_\1/' \
-e '1s/^/enum osl_errors {/1' \
+ -e '1s/$$/=1/1' \
-e '$$!s/$$/,/g' \
-e '$$s/$$/};/1' $< > $@