Changeset 68 for trunk/src/sh_userfiles.c
- Timestamp:
- Oct 30, 2006, 12:03:44 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_userfiles.c
r27 r68 115 115 } 116 116 117 int sh_userfiles_set_uid (c har * str)117 int sh_userfiles_set_uid (const char * str) 118 118 { 119 119 char * end; 120 c har * p = str;120 const char * p = str; 121 121 unsigned long lower; 122 122 unsigned long upper = 0; … … 183 183 * directory that should be checked. */ 184 184 185 int sh_userfiles_add_file(c har *c) {185 int sh_userfiles_add_file(const char *c) { 186 186 struct userfileslist *new; 187 187 char *s, *orig; … … 232 232 } 233 233 234 /* Decide if we're active. 1 means yes, all else means no */235 236 int sh_userfiles_set_active(c har *c) {234 /* Decide if we're active. 235 */ 236 int sh_userfiles_set_active(const char *c) { 237 237 int value; 238 238 239 239 SL_ENTER(_("sh_userfiles_set_active")); 240 241 240 value = sh_util_flagval(c, &ShUserfilesActive); 242 243 /*244 if( value == 1 ) {245 ShUserfilesActive = S_TRUE;246 } else {247 ShUserfilesActive = S_FALSE;248 }249 */250 251 241 SL_RETURN((value), _("sh_userfiles_set_active")); 252 242 }
Note:
See TracChangeset
for help on using the changeset viewer.