Changeset 5568:a7bdf096a4d6 in roaraudio


Ignore:
Timestamp:
07/16/12 17:05:22 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added use of const, use size_t not int

Location:
roard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roard/include/lib.h

    r5381 r5568  
    2929#include <roaraudio.h> 
    3030 
    31 int lib_run_bg(char * cmd, int infh, int outfh, int errfh, int * closefh, int lenclose); 
     31int lib_run_bg(const char * cmd, const int infh, const int outfh, const int errfh, int * closefh, const size_t lenclose); 
    3232 
    3333#endif 
  • roard/lib.c

    r5381 r5568  
    2626#include "roard.h" 
    2727 
    28 int lib_run_bg(char * cmd, int infh, int outfh, int errfh, int * closefh, int lenclose) { 
     28int lib_run_bg(const char * cmd, const int infh, const int outfh, const int errfh, int * closefh, const size_t lenclose) { 
    2929#ifdef ROAR_HAVE_FORK 
    3030 pid_t child; 
Note: See TracChangeset for help on using the changeset viewer.