Check-in Number:
|
3441 | |
Date: |
2003-Jun-13 13:50:37 (local)
2003-Jun-13 11:50:37 (UTC) |
User: | ms |
Branch: | |
Comment: |
Strip off unused section label. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/rc/rc_private.h 1.30 -> 1.31
--- rc_private.h 2003/06/11 16:18:48 1.30
+++ rc_private.h 2003/06/13 11:50:37 1.31
@@ -92,7 +92,6 @@
int m_nPri;
int m_nUid;
char *m_szName;
- char *m_szLabel;
char *m_szLogin;
char *m_szData;
size_t m_Bytes;
|
|
ossp-pkg/rc/rc_sect.c 1.12 -> 1.13
--- rc_sect.c 2003/06/11 16:18:48 1.12
+++ rc_sect.c 2003/06/13 11:50:37 1.13
@@ -125,16 +125,6 @@
return(0); /* Not reached */
}
-const char *sectionGetlabel(rc_section_t *pSec)
-{ /* Rc label, used for display during verbose */
- if (pSec)
- return(pSec->m_szLabel);
- else
- RC_THROW(RC_ERR_USE);
-
- return(0); /* Not reached */
-}
-
const char *sectionGetlogin(rc_section_t *pSec)
{ /* User name of section, used for display during print */
if (pSec)
@@ -197,17 +187,6 @@
return(RC_THROW(RC_OK));
}
- return(RC_THROW(RC_ERR_USE));
-}
-
-rc_return_t sectionSetlabel(rc_section_t *pSec, const char *szLabel)
-{ /* Rc label, used for display during verbose */
- if (pSec) {
- pSec->m_szLabel = malloc((strlen(szLabel) + 1) * sizeof (char));
- strcpy(pSec->m_szLabel, szLabel);
- return(RC_THROW(RC_OK));
- }
-
return(RC_THROW(RC_ERR_USE));
}
|
|