瀏覽代碼

It should be safe to default to C99 now

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 6 年之前
父節點
當前提交
727c1b0adc
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/Makefile.am

+ 1
- 1
src/Makefile.am 查看文件

@@ -1,7 +1,7 @@
1 1
 bin_PROGRAMS   = light
2 2
 light_SOURCES  = main.c light.c light.h helpers.c helpers.h
3 3
 light_CPPFLAGS = -I../include -D_XOPEN_SOURCE=500
4
-light_CFLAGS   = -W -Wall -Wextra -pedantic -std=c89
4
+light_CFLAGS   = -W -Wall -Wextra -pedantic -std=c99
5 5
 
6 6
 install-exec-hook:
7 7
 	chmod 4755 $(DESTDIR)$(bindir)/light