This website works better with JavaScript.
Home
Help
Register
Sign In
nilm
/
zoom
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1
Wiki
Activity
Browse Source
fix c99 issues
git-svn-id:
https://bucket.mit.edu/svn/nilm/zoom@7606
ddd99763-3ecb-0310-9145-efcb8ce7c51f
tags/zoom-1.0
jim
14 years ago
parent
3b3cf31f51
commit
2e900f66ad
3 changed files
with
6 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
pc/Makefile
+1
-0
pc/gpib.c
+1
-1
pc/read.c
+ 4
- 1
pc/Makefile
View File
@@ -1,4 +1,4 @@
CFLAGS=-
std=c99 -
Wall -Werror
CFLAGS=-Wall -Werror
all: read calibrate
@@ -13,3 +13,6 @@ calibrate.o: serial-util.h gpib.h
read: read.o serial-util.o
calibrate: calibrate.o serial-util.o gpib.o
clean:
rm -f *.o read calibrate
+ 1
- 0
pc/gpib.c
View File
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <string.h>
#define __USE_ISOC99
#include <math.h>
#include "gpib.h"
#include "serial-util.h"
+ 1
- 1
pc/read.c
View File
@@ -5,11 +5,11 @@
#include <unistd.h>
#include <getopt.h>
#include <stdint.h>
#include <string.h>
#include <syslog.h>
#include <err.h>
#include <linux/serial.h>
#include "serial-util.h"
#include <string.h>
int hex = 0;
int dec = 0;
Write
Preview
Loading…
Cancel
Save