Changeset 3d709f808bde28c1c85cb21e2228ccf3f9a9226b
- Timestamp:
- 06/22/08 17:06:28
(5 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1214154388 +0000
- git-parent:
[4341a9e214fe728d919aff0399b82d39566ef844]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1214154388 +0000
- Message:
cleanup warnings
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4341a9e |
r3d709f8 |
|
| 124 | 124 | ncct->outbuf_allocd = lenwanted; |
|---|
| 125 | 125 | } |
|---|
| 126 | | return -1; |
|---|
| | 126 | /* NOTREACHED */ |
|---|
| 127 | 127 | } |
|---|
| 128 | 128 | int |
|---|
| rc4546c7 |
r3d709f8 |
|
| 1688 | 1688 | /* split it up */ |
|---|
| 1689 | 1689 | for(i=0; i<len; i+=sizeof(ncct->telnet->_pty_buf)) { |
|---|
| 1690 | | pty_write(ncct, buf + i, MIN(sizeof(ncct->telnet->_pty_buf),len-i)); |
|---|
| | 1690 | pty_write(ncct, (unsigned char *)buf + i, |
|---|
| | 1691 | MIN(sizeof(ncct->telnet->_pty_buf),len-i)); |
|---|
| 1691 | 1692 | } |
|---|
| 1692 | 1693 | } |
|---|
| rc4546c7 |
r3d709f8 |
|
| 22 | 22 | |
|---|
| 23 | 23 | noit_atomic_sol_x86_32.o: noit_atomic_sol.s |
|---|
| 24 | | as -P -o $@ noit_atomic_sol.s |
|---|
| | 24 | @as -P -o $@ noit_atomic_sol.s |
|---|
| | 25 | @echo "- assembling $@" |
|---|
| 25 | 26 | |
|---|
| 26 | 27 | noit_atomic_sol_x86_64.o: noit_atomic_sol.s |
|---|
| 27 | | as -P -xarch=generic64 -o $@ noit_atomic_sol.s |
|---|
| | 28 | @as -P -xarch=generic64 -o $@ noit_atomic_sol.s |
|---|
| | 29 | @echo "- assembling $@" |
|---|
| 28 | 30 | |
|---|
| 29 | 31 | .c.o: |
|---|
| r3277121 |
r3d709f8 |
|
| 16 | 16 | */ |
|---|
| 17 | 17 | |
|---|
| | 18 | #include "noit_defines.h" |
|---|
| | 19 | #include "noit_skiplist.h" |
|---|
| | 20 | |
|---|
| 18 | 21 | #include <stdio.h> |
|---|
| 19 | 22 | #include <stdlib.h> |
|---|
| 20 | 23 | #include <string.h> |
|---|
| | 24 | #include <assert.h> |
|---|
| 21 | 25 | #ifdef HAVE_ALLOCA_H |
|---|
| 22 | 26 | #include <alloca.h> |
|---|
| 23 | 27 | #endif |
|---|
| 24 | | #include <assert.h> |
|---|
| 25 | | |
|---|
| 26 | | #include "noit_skiplist.h" |
|---|
| 27 | 28 | |
|---|
| 28 | 29 | #ifndef MIN |
|---|