mirror of
https://github.com/dschmenk/apple2pi.git
synced 2025-02-19 18:31:32 +00:00
add Makefile and remove compiler warnings
This commit is contained in:
parent
c3aa33d95f
commit
b4e3891a8c
9
src/Makefile
Executable file
9
src/Makefile
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
BIN=a2pid a2mon dskread dskwrite
|
||||||
|
|
||||||
|
all: $(BIN)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm $(BIN)
|
||||||
|
|
||||||
|
install:
|
||||||
|
cp $(BIN) /usr/local/bin
|
@ -413,7 +413,7 @@ int writeword(int fd, int word, char ack)
|
|||||||
void prlog(char *str)
|
void prlog(char *str)
|
||||||
{
|
{
|
||||||
if (!isdaemon)
|
if (!isdaemon)
|
||||||
printf(str);
|
puts(str);
|
||||||
}
|
}
|
||||||
struct a2request *addreq(int a2fd, int reqfd, int type, int addr, int count, char *buffer)
|
struct a2request *addreq(int a2fd, int reqfd, int type, int addr, int count, char *buffer)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user