aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-13 13:51:33 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:03:12 -0700
commit44f9f07e8346f31ec70884b8ecbc120cf4f6d3a5 (patch)
tree6c9ccac503688aec58d5bed9560efb3bc0cd4616 /Makefile
parent6a9a969e71981ba02e805c552f6b540c6cd0eb8e (diff)
downloadsparse-dev-44f9f07e8346f31ec70884b8ecbc120cf4f6d3a5.tar.gz
Morten made us almost -Wwrite-strings clean. Go the extra mile.
The only remaining place was the magic constant "0" "1" number token generated by "defined(xxx)". And since we never actually modify number tokens (which would have broken that code anyway), let's just make that const'ness explicit.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 083a2dcc..4f29ec17 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC=gcc
-CFLAGS=-O -g -Wall
+CFLAGS=-O -g -Wall -Wwrite-strings
LDFLAGS=-g
AR=ar