Changeset 945
- Timestamp:
- 05/25/07 10:45:57 (5 years ago)
- Location:
- trunk/src/ct
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ct/path.c
r876 r945 11 11 #include <limits.h> 12 12 #include <stdlib.h> 13 #include <openct/path.h> 13 14 14 15 /* -
trunk/src/ct/socket.c
r886 r945 293 293 * Should move this to a platform specific file 294 294 */ 295 int ct_socket_getcreds(ct_socket_t * sock)295 static int ct_socket_getcreds(ct_socket_t * sock) 296 296 { 297 297 #ifdef SO_PEERCRED … … 610 610 * Default send/receive handlers 611 611 */ 612 int ct_socket_default_recv_cb(ct_socket_t * sock)612 static int ct_socket_default_recv_cb(ct_socket_t * sock) 613 613 { 614 614 char buffer[CT_SOCKET_BUFSIZ + 64]; … … 661 661 } 662 662 663 int ct_socket_default_send_cb(ct_socket_t * sock)663 static int ct_socket_default_send_cb(ct_socket_t * sock) 664 664 { 665 665 return ct_socket_flsbuf(sock, 0); -
trunk/src/ct/status.c
r861 r945 54 54 prot |= PROT_WRITE; 55 55 56 addr = mmap( 0, *size, prot, MAP_SHARED, fd, 0);56 addr = mmap(NULL, *size, prot, MAP_SHARED, fd, 0); 57 57 58 58 done:close(fd); … … 174 174 * Lock file handling 175 175 */ 176 int ct_status_lock(void)176 static int ct_status_lock(void) 177 177 { 178 178 int fd, retries = 10; … … 203 203 } 204 204 205 void ct_status_unlock(void)205 static void ct_status_unlock(void) 206 206 { 207 207 char status_lock_path[PATH_MAX];
Note: See TracChangeset
for help on using the changeset viewer.
