diff options
author | jbj <devnull@localhost> | 1999-01-06 17:33:50 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-01-06 17:33:50 +0000 |
commit | bd626d134d27fa77cae0f26aa7c03649d1bb2ef9 (patch) | |
tree | 0d53c6a480a2ec387c9b872b64d635a33281f064 /lib/misc.h | |
parent | 7eca53f7ea2a634205d7234bc00d1f06e378db39 (diff) | |
download | librpm-tizen-bd626d134d27fa77cae0f26aa7c03649d1bb2ef9.tar.gz librpm-tizen-bd626d134d27fa77cae0f26aa7c03649d1bb2ef9.tar.bz2 librpm-tizen-bd626d134d27fa77cae0f26aa7c03649d1bb2ef9.zip |
propagate "const char *" into rpmlib prototypes.
CVS patchset: 2663
CVS date: 1999/01/06 17:33:50
Diffstat (limited to 'lib/misc.h')
-rw-r--r-- | lib/misc.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/misc.h b/lib/misc.h index 78a193015..5af91a40f 100644 --- a/lib/misc.h +++ b/lib/misc.h @@ -4,14 +4,14 @@ #include <unistd.h> #include <sys/types.h> -char ** splitString(char * str, int length, char sep); +char ** splitString(const char * str, int length, char sep); void freeSplitString(char ** list); void stripTrailingSlashes(char * str); -int rpmfileexists(char * filespec); +int rpmfileexists(const char * filespec); -int rpmvercmp(char * one, char * two); -int findMatches(rpmdb db, char * name, char * version, char * release, +int rpmvercmp(const char * one, const char * two); +int findMatches(rpmdb db, const char * name, const char * version, const char * release, dbiIndexSet * matches); /* these are like the normal functions, but they malloc() the space which @@ -28,6 +28,6 @@ int gnameToGid(char * thisGname, gid_t * gid); char * uidToUname(uid_t uid); char * gidToGname(gid_t gid); -int makeTempFile(char * prefix, /*@out@*/char ** fnptr, /*@out@*/FD_t * fdptr); +int makeTempFile(const char * prefix, /*@out@*/const char ** fnptr, /*@out@*/FD_t * fdptr); #endif /* H_MISC */ |